- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 588 for equalTo (0.04 seconds)
-
cmd/bitrot.go
if algo != HighwayHash256S { h := algo.New() if n, err := io.Copy(h, r); err != nil || n != wantSize { // Premature failure in reading the object, file is corrupt. return errFileCorrupt } if !bytes.Equal(h.Sum(nil), want) { return errFileCorrupt } return nil } h := algo.New() hashBuf := make([]byte, h.Size()) left := wantSize // Calculate the size of the bitrot file and compareCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.7K bytes - Click Count (0) -
cmd/erasure-healing-common.go
timeOccurrenceMap := make(map[int64]int, len(times)) groupNano := group.Nanoseconds() // Ignore the uuid sentinel and count the rest. for _, t := range times { if t.Equal(timeSentinel) || t.IsZero() { continue } nano := t.UnixNano() if group > 0 { for k := range timeOccurrenceMap { if k == nano { // We add to ourself later continue }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
clause/expression_test.go
if stmt.SQL.String() != result.Result { t.Errorf("generated SQL is not equal, expects %v, but got %v", result.Result, stmt.SQL.String()) } if !reflect.DeepEqual(result.ExpectedVars, stmt.Vars) { t.Errorf("generated vars is not equal, expects %v, but got %v", result.ExpectedVars, stmt.Vars) } }) } } func TestExpression(t *testing.T) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Nov 04 07:04:52 GMT 2025 - 8.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java
.getGenericReturnType(); if (returnType instanceof ParameterizedType parameterizedType) { return !parameterizedType.getActualTypeArguments()[0].equals(String.class); } else { return false; } } catch (ReflectiveOperationException | SecurityException e) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.java
Set<Plugin> plugins; // NOTE: The upper-case packaging name is intentional, that's a special hinting mode used for certain tests if ("JAR".equals(packaging)) { plugins = new LinkedHashSet<>(); plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.5K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt
if (releasedVersion.gradleVersion() > other.gradleVersion()) releasedVersion else other private fun GradleVersion.finalRelease() = this.equals(baseVersion) }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jul 07 13:12:26 GMT 2021 - 3.5K bytes - Click Count (0) -
internal/kms/dek_test.go
t.Fatalf("Test %d: failed to unmarshal DEK: %v", i, err) } if key.Plaintext != nil { t.Fatalf("Test %d: unmarshaled DEK contains non-nil plaintext", i) } if !bytes.Equal(key.Ciphertext, test.Key.Ciphertext) { t.Fatalf("Test %d: ciphertext mismatch: got %x - want %x", i, key.Ciphertext, test.Key.Ciphertext) } } } func mustDecodeB64(s string) []byte {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 2.6K bytes - Click Count (0) -
cmd/api-headers.go
if v == "" && equals(k, xhttp.AmzObjectLockMode, xhttp.AmzObjectLockRetainUntilDate) { continue } if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) { // Do not need to send any internal metadata // values to client. continue } // https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7wCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
return session; } if (session != null) { LocalRepositoryManager lrm = session.getLocalRepositoryManager(); if (lrm != null && lrm.getRepository().getBasedir().equals(new File(repository.getBasedir()))) { return session; } } else { session = new DefaultRepositorySystemSession(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.1K bytes - Click Count (0)