- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 643 for sama (0.85 sec)
-
src/archive/zip/zip_test.go
return last.off + last.n } func (r *rleBuffer) Write(p []byte) (n int, err error) { var rp *repeatedByte if len(r.buf) > 0 { rp = &r.buf[len(r.buf)-1] // Fast path, if p is entirely the same byte repeated. if lastByte := rp.b; len(p) > 0 && p[0] == lastByte { if bytes.Count(p, []byte{lastByte}) == len(p) { rp.n += int64(len(p)) return len(p), nil } } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
int firstQueriesCount = testFacetInfo.getAddedQueries().size(); // Call init again facetQueryView.init(); // Size should remain the same assertEquals(firstSize, facetQueryView.getQueryMap().size()); // But queries would be added again to FacetInfo (distinct handles duplicates)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
private final boolean disableMic; private boolean requireMic; /** * Instance a <code>SpnegoContext</code> object by wrapping a {@link SSPContext} * with the same mechanism this {@link SSPContext} used. * * @param source * the {@link SSPContext} to be wrapped */ SpnegoContext(final Configuration config, final SSPContext source) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
long expectedFree = (long) free * sectPerAlloc * bytesPerSect; assertEquals(expectedFree, smbInfoAllocation.getFree()); } @Test @DisplayName("Test multiple decode calls on same instance") void testMultipleDecodeCalls() throws SMBProtocolDecodingException { // First decode byte[] buffer1 = new byte[22]; int offset = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/recipes.md
It is an error to have multiple caches accessing the same cache directory simultaneously. Most applications should call `new OkHttpClient()` exactly once, configure it with their cache, and use that same instance everywhere. Otherwise the two cache instances will stomp on each other, corrupt the response cache, and possibly crash your program.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
@SuppressWarnings("InlineMeInliner") public void testCompare() { for (int x : VALUES) { for (int y : VALUES) { // note: spec requires only that the sign is the same assertWithMessage(x + ", " + y).that(Ints.compare(x, y)).isEqualTo(Integer.compare(x, y)); } } } public void testContains() { assertThat(Ints.contains(EMPTY, (int) 1)).isFalse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
cmd/peer-rest-client.go
time.Sleep(5 * time.Second) } } }() } // newPeerRestClients creates new peer clients. // The two slices will point to the same clients, // but 'all' will contain nil entry for local client. // The 'all' slice will be in the same order across the cluster. func newPeerRestClients(endpoints EndpointServerPools) (remote, all []*peerRESTClient) { if !globalIsDistErasure {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
String[] roles2 = secured.value(); // Different array instances should be returned assertNotSame(roles1, roles2); // But values should be the same assertEquals(roles1.length, roles2.length); for (int i = 0; i < roles1.length; i++) { assertEquals(roles1[i], roles2[i]); } } // Test annotation with duplicate roles
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
} catch (AssertionFailedError e) { assertErrorMessage(e, "foo [group 1, item 1] must be Object#equals to bar [group 1, item 2]"); return; } fail("should failed because of unequal objects in the same equality group"); } public void testTransitivityBrokenAcrossEqualityGroups() { EqualsTester tester = new EqualsTester()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeSet.java
* operation * @since 21.0 */ void removeAll(Iterable<Range<C>> ranges); // Object methods /** * Returns {@code true} if {@code obj} is another {@code RangeSet} that contains the same ranges * according to {@link Range#equals(Object)}. */ @Override boolean equals(@Nullable Object obj); /** Returns {@code asRanges().hashCode()}. */ @Override int hashCode();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 9.8K bytes - Viewed (0)