- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 173 for compareIDs (0.13 sec)
-
src/internal/runtime/atomic/types.go
return Loadint32(&i.value) } // Store updates the value atomically. // //go:nosplit func (i *Int32) Store(value int32) { Storeint32(&i.value, value) } // CompareAndSwap atomically compares i's value with old, // and if they're equal, swaps i's value with new. // It reports whether the swap ran. // //go:nosplit func (i *Int32) CompareAndSwap(old, new int32) bool { return Casint32(&i.value, old, new) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 14.2K bytes - Viewed (0) -
pkg/test/util/assert/assert.go
// Compare compares two objects and returns and error if they are not the same. func Compare[T any](a, b T) error { if !cmp.Equal(a, b, opts(a)...) { return fmt.Errorf("found diff: %v\nLeft: %v\nRight: %v", cmp.Diff(a, b, opts(a)...), a, b) } return nil } // Equal compares two objects and fails if they are not the same.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 18 17:21:50 UTC 2023 - 4.4K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
} func manifestDiffCmd(diffArgs *manifestDiffArgs) *cobra.Command { cmd := &cobra.Command{ Use: "diff <file|dir> <file|dir>", Short: "Compare manifests and generate diff", Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" + "changed paths with the value changes shown as OLD-VALUE -> NEW-VALUE.\n" +
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/NormalizedPathFingerprintCompareStrategy.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.execution.history.changes; /** * Compares by normalized path (relative/name only) and file contents. Order does not matter. */ public class NormalizedPathFingerprintCompareStrategy extends AbstractFingerprintCompareStrategy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/AbsolutePathFingerprintCompareStrategy.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.execution.history.changes; /** * Compares by absolute paths and file contents. Order does not matter. */ public class AbsolutePathFingerprintCompareStrategy extends AbstractFingerprintCompareStrategy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionComparator.java
import org.gradle.api.internal.artifacts.ivyservice.ivyresolve.Versioned; import java.util.Comparator; public interface VersionComparator extends Comparator<Versioned> { /** * Compares two versioned elements to see which is the 'latest'. */ @Override int compare(Versioned element1, Versioned element2); Comparator<Version> asVersionComparator();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/tooling/TaskNameComparatorTest.groovy
import org.gradle.plugins.ide.internal.tooling.model.TaskNameComparator import spock.lang.Specification import spock.lang.Unroll class TaskNameComparatorTest extends Specification { @Unroll('compares task names #first and #second') def compare() { def comparator = new TaskNameComparator() expect: comparator.compare(first, second) < 0 comparator.compare(second, first) > 0
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 1.3K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ArtifactVersion.java
* under the License. */ package org.apache.maven.artifact.versioning; /** * Describes an artifact version in terms of its components, converts it to/from a string and * compares two versions. * */ public interface ArtifactVersion extends Comparable<ArtifactVersion> { int getMajorVersion(); int getMinorVersion(); int getIncrementalVersion();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/Operation.java
/** * Returns the total elapsed execution time of this operation in millis. */ abstract long getElapsedTime(); abstract String getDescription(); /** * @return comparator that compares operations, slowest first, then alphabetically */ public static Comparator<? super Operation> slowestFirst() { return new Comparator<Operation>() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 12:58:53 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/model/TaskNameComparator.java
* limitations under the License. */ package org.gradle.plugins.ide.internal.tooling.model; import java.io.Serializable; import java.util.Comparator; /** * Compares task names to create ordering for selector launching. */ public class TaskNameComparator implements Comparator<String>, Serializable { @Override public int compare(String taskName1, String taskName2) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 1.9K bytes - Viewed (0)