- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for diffpos (0.17 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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 = readerTwoRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* input futures, if all succeed. * * <p>The list of results is in the same order as the input list. * * <p>This differs from {@link #successfulAsList(ListenableFuture[])} in that it will return a * failed future if any of the items fails. * * <p>Canceling this future will attempt to cancel all the component futures, and if any of theRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
val EMPTY: ResponseBody = ByteString.EMPTY.toResponseBody() /** * Returns a new response body that transmits this string. If [contentType] is non-null and * has a charset other than utf-8 the behaviour differs by platform. * * On the JVM the encoding will be used instead of utf-8. * * On non JVM platforms, this method will fail for encodings other than utf-8. */ @JvmStatic
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
* implementations exist for particular cases, like {@link ImmutableTable} views and hash flooding. * (This doc discusses {@link ImmutableMap} subclasses only for the JRE flavor; the Android flavor * differs.) * * @author Jesse Wilson * @author Kevin Bourrillion * @author Gregory Kick */ @GwtCompatible final class RegularImmutableMap<K, V> extends ImmutableMap<K, V> { @SuppressWarnings("unchecked")Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0)