- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for compareIDs (0.3 sec)
-
pkg/kubelet/eviction/helpers.go
return ms.cmp[k](p1, p2) < 0 } // priority compares pods by Priority, if priority is enabled. func priority(p1, p2 *v1.Pod) int { priority1 := corev1helpers.PodPriority(p1) priority2 := corev1helpers.PodPriority(p2) if priority1 == priority2 { return 0 } if priority1 > priority2 { return 1 } return -1 } // exceedMemoryRequests compares whether or not pods' memory usage exceeds their requests
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0) -
src/time/time.go
// no monotonic clock reading. // // The monotonic clock reading exists only in [Time] values. It is not // a part of [Duration] values or the Unix times returned by t.Unix and // friends. // // Note that the Go == operator compares not just the time instant but // also the [Location] and the monotonic clock reading. See the // documentation for the Time type for a discussion of equality // testing for Time values. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
// // -1 if a < b // 0 if a == b // 1 if a > b type Cmp int8 const ( CMPlt = Cmp(-1) CMPeq = Cmp(0) CMPgt = Cmp(1) ) // Compare compares types for purposes of the SSA back // end, returning a Cmp (one of CMPlt, CMPeq, CMPgt). // The answers are correct for an optimizer // or code generator, but not necessarily typechecking.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jun 10 11:04:53 UTC 2024 - 73.9K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc
In order to do so, Gradle first normalizes both inputs and then compares the result. For example, for a compile classpath, Gradle extracts the ABI signature from the classes on the classpath and then compares signatures between the last Gradle run and the current Gradle run as described in <<java_plugin.adoc#sec:java_compile_avoidance,Java compile avoidance>>.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 24 23:14:04 UTC 2024 - 63.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/security_windows.go
} return *getSidSubAuthority(sid, idx) } // IsValid returns whether the SID has a valid revision and length. func (sid *SID) IsValid() bool { return isValidSid(sid) } // Equals compares two SIDs for equality. func (sid *SID) Equals(sid2 *SID) bool { return EqualSid(sid, sid2) } // IsWellKnown determines whether the SID matches the well-known sidType.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 52.5K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat May 18 14:09:22 UTC 2024 - 76K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
Comparator<? super E> comparator) { return new TreeSet<>(checkNotNull(comparator)); } /** * Creates an empty {@code Set} that uses identity to determine equality. It compares object * references, instead of calling {@code equals}, to determine whether a provided object matches * an element in the set. For example, {@code contains} returns {@code false} when passed an
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 77.3K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
// Do nothing. } else if path, err := exec.LookPath(fmt.Sprintf("go_%s_%s_exec", goos, goarch)); err == nil { execCmd = []string{path} } }) return execCmd } // checkExpectedOutput compares the output from compiling and/or running with the contents // of the corresponding reference output file, if any (replace ".go" with ".out"). // If they don't match, fail with an informative message.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue.go
// A pod, must stop pruning. break } p.inFlightEvents.Remove(e) } } // isPodUpdated checks if the pod is updated in a way that it may have become // schedulable. It drops status of the pod and compares it with old version, // except for pod.status.resourceClaimStatuses: changing that may have an // effect on scheduling. func isPodUpdated(oldPod, newPod *v1.Pod) bool { strip := func(pod *v1.Pod) *v1.Pod {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 61.4K bytes - Viewed (0)