Home
last modified time | relevance | path

Searched refs:countDiff (Results 1 – 25 of 41) sorted by relevance

12

/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/nomad/scheduler/
H A Dannotate.go108 var countDiff *structs.FieldDiff
111 countDiff = diff
117 if countDiff == nil {
122 if countDiff.Old == "" {
125 oldV, err = strconv.Atoi(countDiff.Old)
131 if countDiff.New == "" {
134 newV, err = strconv.Atoi(countDiff.New)
141 countDiff.Annotations = append(countDiff.Annotations, AnnotationForcesCreate)
143 countDiff.Annotations = append(countDiff.Annotations, AnnotationForcesDestroy)
H A Dannotate_test.go87 countDiff := tgUp.Fields[0]
88 if len(countDiff.Annotations) != 1 || countDiff.Annotations[0] != AnnotationForcesCreate {
96 countDiff = tgDown.Fields[0]
97 if len(countDiff.Annotations) != 1 || countDiff.Annotations[0] != AnnotationForcesDestroy {
/dports/sysutils/nomad/nomad-1.1.0/scheduler/
H A Dannotate.go108 var countDiff *structs.FieldDiff
111 countDiff = diff
117 if countDiff == nil {
122 if countDiff.Old == "" {
125 oldV, err = strconv.Atoi(countDiff.Old)
131 if countDiff.New == "" {
134 newV, err = strconv.Atoi(countDiff.New)
141 countDiff.Annotations = append(countDiff.Annotations, AnnotationForcesCreate)
143 countDiff.Annotations = append(countDiff.Annotations, AnnotationForcesDestroy)
H A Dannotate_test.go87 countDiff := tgUp.Fields[0]
88 if len(countDiff.Annotations) != 1 || countDiff.Annotations[0] != AnnotationForcesCreate {
96 countDiff = tgDown.Fields[0]
97 if len(countDiff.Annotations) != 1 || countDiff.Annotations[0] != AnnotationForcesDestroy {
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/sun/management/HotspotRuntimeMBean/
H A DGetSafepointSyncTime.java59 long countDiff = count2 - count1; in validate() local
62 if (countDiff < NUM_THREAD_DUMPS) { in validate()
65 " safepoints but only got " + countDiff); in validate()
79 label, count2, countDiff, time2, timeDiff); in validate()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/sun/management/HotspotRuntimeMBean/
H A DGetSafepointSyncTime.java59 long countDiff = count2 - count1; in validate() local
62 if (countDiff < NUM_THREAD_DUMPS) { in validate()
65 " safepoints but only got " + countDiff); in validate()
79 label, count2, countDiff, time2, timeDiff); in validate()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/sun/management/HotspotRuntimeMBean/
H A DGetSafepointSyncTime.java59 long countDiff = count2 - count1; in validate() local
62 if (countDiff < NUM_THREAD_DUMPS) { in validate()
65 " safepoints but only got " + countDiff); in validate()
79 label, count2, countDiff, time2, timeDiff); in validate()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/sun/management/HotspotRuntimeMBean/
H A DGetSafepointSyncTime.java59 long countDiff = count2 - count1; in validate() local
62 if (countDiff < NUM_THREAD_DUMPS) { in validate()
65 " safepoints but only got " + countDiff); in validate()
79 label, count2, countDiff, time2, timeDiff); in validate()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/sun/management/HotspotRuntimeMBean/
H A DGetSafepointSyncTime.java59 long countDiff = count2 - count1; in validate() local
62 if (countDiff < NUM_THREAD_DUMPS) { in validate()
65 " safepoints but only got " + countDiff); in validate()
79 label, count2, countDiff, time2, timeDiff); in validate()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/sun/management/HotspotRuntimeMBean/
H A DGetSafepointSyncTime.java59 long countDiff = count2 - count1; in validate() local
62 if (countDiff < NUM_THREAD_DUMPS) { in validate()
65 " safepoints but only got " + countDiff); in validate()
79 label, count2, countDiff, time2, timeDiff); in validate()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/sun/management/HotspotRuntimeMBean/
H A DGetSafepointSyncTime.java59 long countDiff = count2 - count1; in validate() local
62 if (countDiff < NUM_THREAD_DUMPS) { in validate()
65 " safepoints but only got " + countDiff); in validate()
79 label, count2, countDiff, time2, timeDiff); in validate()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/sun/management/HotspotRuntimeMBean/
H A DGetSafepointSyncTime.java59 long countDiff = count2 - count1; in validate() local
62 if (countDiff < NUM_THREAD_DUMPS) { in validate()
65 " safepoints but only got " + countDiff); in validate()
79 label, count2, countDiff, time2, timeDiff); in validate()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/level/
H A Dscoreboard.cpp99 int countDiff = count - rule->lastCount; in UpdateObjectCount() local
100 if (countDiff != 0) in UpdateObjectCount()
103 AddPoints(rule->winTeam, rule->score * countDiff); in UpdateObjectCount()
/dports/graphics/aseprite/aseprite-1.2.9/src/doc/
H A Dpalette.h74 int countDiff(const Palette* other, int* from, int* to) const;
77 return (countDiff(&other, nullptr, nullptr) == 0);
/dports/sysutils/terraform-provider-gridscale/terraform-provider-gridscale-1.6.2/vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/
H A Ddiff.go601 if countDiff, ok := d.Attributes[countAddr]; ok {
602 if countDiff.NewComputed {
605 result[localBlockPrefix+"#"] = countDiff.New
611 countDiff.New != "" && countDiff.New != hcl2shim.UnknownVariableValue {
612 length, _ := strconv.Atoi(countDiff.New)
871 _, countDiff := d.Attributes[countKey]
872 if result[countKey] == "" || (!countDiff && len(keys) != len(result)) {
/dports/sysutils/terraform-provider-vultr/terraform-provider-vultr-0.1.10/vendor/github.com/hashicorp/terraform/terraform/
H A Ddiff.go600 if countDiff, ok := d.Attributes[countAddr]; ok {
601 if countDiff.NewComputed {
604 result[localBlockPrefix+"#"] = countDiff.New
610 countDiff.New != "" && countDiff.New != hcl2shim.UnknownVariableValue {
611 length, _ := strconv.Atoi(countDiff.New)
870 _, countDiff := d.Attributes[countKey]
871 if result[countKey] == "" || (!countDiff && len(keys) != len(result)) {
/dports/sysutils/terraform/terraform-1.0.11/internal/legacy/terraform/
H A Ddiff.go611 if countDiff, ok := d.Attributes[countAddr]; ok {
612 if countDiff.NewComputed {
615 result[localBlockPrefix+"#"] = countDiff.New
621 countDiff.New != "" && countDiff.New != hcl2shim.UnknownVariableValue {
622 length, _ := strconv.Atoi(countDiff.New)
881 _, countDiff := d.Attributes[countKey]
882 if result[countKey] == "" || (!countDiff && len(keys) != len(result)) {
/dports/finance/hs-hledger/hledger-1.19/Hledger/Cli/Commands/
H A DRewrite.hs106 (dels, adds) = foldl' countDiff (0, 0) diffs
110 countDiff (dels, adds) = \case function
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/hledger-1.19/Hledger/Cli/Commands/
H A DRewrite.hs106 (dels, adds) = foldl' countDiff (0, 0) diffs
110 countDiff (dels, adds) = \case function
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/hledger-1.19.1/Hledger/Cli/Commands/
H A DRewrite.hs106 (dels, adds) = foldl' countDiff (0, 0) diffs
110 countDiff (dels, adds) = \case function
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/
H A Dblitters.cpp250 int countDiff = fgRunCount - count; in drawTile() local
251 if (colDiff > countDiff) in drawTile()
252 colDiff = countDiff; in drawTile()
/dports/graphics/aseprite/aseprite-1.2.9/src/app/cmd/
H A Dset_palette.cpp33 int diffs = curPalette->countDiff(newPalette, &m_from, &m_to); in SetPalette()
/dports/graphics/aseprite/aseprite-1.2.9/src/app/modules/
H A Dpalettes.cpp148 palette->countDiff(ase_current_palette, NULL, NULL) > 0) { in set_current_palette()
/dports/graphics/aseprite/aseprite-1.2.9/src/app/util/
H A Dcreate_cel_copy.cpp47 srcCel->sprite()->palette(srcCel->frame())->countDiff( in create_cel_copy()
/dports/games/chessx/chessx-1.5.6/src/database/
H A Dpgndatabase.cpp254 qint64 countDiff = size / 100; in parseFileIntern() local
255 qint64 nextDiff = countDiff; in parseFileIntern()
304 nextDiff += countDiff; in parseFileIntern()

12