Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for diffpos (0.34 sec)

  1. src/bytes/bytes_test.go

    		for x := 0; x <= size-len; x++ {
    			for y := 0; y <= size-len; y++ {
    				for diffpos := x; diffpos < x+len; diffpos++ {
    					a[diffpos] = 1
    					if Equal(a[x:x+len], b[y:y+len]) || Equal(b[y:y+len], a[x:x+len]) {
    						t.Errorf("NotEqual(%d, %d, %d, %d) = true", len, x, y, diffpos)
    					}
    					a[diffpos] = 0
    				}
    			}
    		}
    	}
    }
    
    var indexTests = []BinOpTest{
    	{"", "", 0},
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 23 23:54:14 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. tests/lru_test.go

    	}
    
    	if !reflect.DeepEqual(lc.Keys(), []string{"key1"}) {
    		t.Fatalf("value differs from expected")
    	}
    
    	if lc.Resize(0) != 0 {
    		t.Fatalf("evicted count differs from expected")
    	}
    	if lc.Resize(2) != 0 {
    		t.Fatalf("evicted count differs from expected")
    	}
    	lc.Add("key2", "val2")
    	if lc.Resize(1) != 1 {
    		t.Fatalf("evicted count differs from expected")
    	}
    }
    
    func TestLRUEdgeCases(t *testing.T) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java

            projectManager.attachArtifact(project, artifact, artifactPath);
    
            // Verify that an exception is thrown when the artifactId differs
            when(artifact.getArtifactId()).thenReturn("anotherArtifact");
            assertExceptionMessageContains("myGroup:myArtifact:1.0-SNAPSHOT", "myGroup:anotherArtifact:1.0-SNAPSHOT");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/WinErrorTest.java

                            WinError.ERROR_SERVICE_NOT_INSTALLED, WinError.ERROR_NO_BROWSER_SERVERS_FOUND },
                    WinError.WINERR_CODES, "WINERR_CODES content differs");
    
            assertArrayEquals(new String[] { "The operation completed successfully.", "Access is denied.",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. README.md

    using version `999.0.0-HEAD-jre-SNAPSHOT`, or `999.0.0-HEAD-android-SNAPSHOT`
    for the Android flavor.
    
    [Snapshot API Javadoc][guava-snapshot-api-docs] as well as
    [Snapshot API Diffs][guava-snapshot-api-diffs] are also available.
    
    Another easy way to get to the Javadoc is to open
    [guava.dev/api](https://guava.dev/api). You can also jump right to a specific
    class by appending the class name to guava.dev. For example,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                assertNotNull(parentElement.child("version").orElse(null));
            }
    
            @Test
            @DisplayName("should keep child groupId when it differs from parent in 4.0.0")
            void shouldKeepChildGroupIdWhenItDiffersFromParentIn400() throws Exception {
                String parentPomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

       * large amount that crosses the threshold (transitioning from "not at threshold" to "over the
       * threshold"). (We then write some more afterward.) This differs from the existing
       * testThreshold() which writes exactly enough bytes to fill the buffer, then immediately writes
       * more bytes.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SecurityBlobTest.java

            assertFalse(longer.equals(shorter), "Longer does not equal shorter (implementation behavior)");
        }
    
        // Confirms equals() returns false when content differs
        @Test
        @DisplayName("equals: different content -> false")
        void equals_differentContent_false() {
            // Arrange
            SecurityBlob a = new SecurityBlob(new byte[] { 1, 2, 3 });
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. .github/workflows/pre-commit.yml

            with:
              # To be able to commit it needs to fetch the head of the branch, not the
              # merge commit
              ref: ${{ github.head_ref }}
              # And it needs the full history to be able to compute diffs
              fetch-depth: 0
              # A token other than the default GITHUB_TOKEN is needed to be able to trigger CI
              token: ${{ secrets.PRE_COMMIT }}
          # pre-commit lite ci needs the default checkout configs to work
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 23 11:17:16 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

       * large amount that crosses the threshold (transitioning from "not at threshold" to "over the
       * threshold"). (We then write some more afterward.) This differs from the existing
       * testThreshold() which writes exactly enough bytes to fill the buffer, then immediately writes
       * more bytes.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top