Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for diffpos (0.07 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 05 15:30:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/cmd/api/api_test.go

    		gotOK := compareAPI(buf, tt.features, tt.required, tt.exception)
    		if gotOK != tt.ok {
    			t.Errorf("%s: ok = %v; want %v", tt.name, gotOK, tt.ok)
    		}
    		if got := buf.String(); got != tt.out {
    			t.Errorf("%s: output differs\nGOT:\n%s\nWANT:\n%s", tt.name, got, tt.out)
    		}
    	}
    }
    
    func TestSkipInternal(t *testing.T) {
    	if *flagCheck {
    		// not worth repeating in -check
    		t.Skip("skipping with -check set")
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri May 02 17:06:27 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * com.google.guava:listenablefuture:1.0 artifact. (For more on that artifact, see
     * https://github.com/google/guava/releases/tag/v27.0) This means that the copy of ListenableFuture
     * in com.google.guava:guava differs from the "frozen" copy in the listenablefuture artifact. This
     * could in principle cause problems for some users. Still, we expect that the benefits of the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    		}
    
    		if actualError.BucketName != bucketName {
    			t.Fatal(failTestStr(anonTestStr, "error response bucket name differs from expected value"))
    		}
    
    		if actualError.Key != objectName {
    			t.Fatal(failTestStr(anonTestStr, "error response object name differs from expected value"))
    		}
    	}
    
    	// test for unknown auth case.
    	anonReq.Body = readerTwo
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  9. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * com.google.guava:listenablefuture:1.0 artifact. (For more on that artifact, see
     * https://github.com/google/guava/releases/tag/v27.0) This means that the copy of ListenableFuture
     * in com.google.guava:guava differs from the "frozen" copy in the listenablefuture artifact. This
     * could in principle cause problems for some users. Still, we expect that the benefits of the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * com.google.guava:listenablefuture:1.0 artifact. (For more on that artifact, see
     * https://github.com/google/guava/releases/tag/v27.0) This means that the copy of ListenableFuture
     * in com.google.guava:guava differs from the "frozen" copy in the listenablefuture artifact. This
     * could in principle cause problems for some users. Still, we expect that the benefits of the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top