- Sort Score
- Result 10 results
- Languages All
Results 891 - 900 of 994 for calc (0.02 sec)
-
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
System.arraycopy(stringBytes, 0, buffer, 10, stringBytes.length); buffer[10 + stringBytes.length] = 0; // null terminator // Use reflection to call protected readString method Method readStringMethod = getReadStringMethod(); String result = (String) readStringMethod.invoke(response, buffer, 10, 128, false); assertEquals(testString, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
response = spy(response); when(response.getHeaderStart()).thenReturn(0); // Make a copy of the buffer byte[] bufferCopy = buffer.clone(); // Call readBytesWireFormat response.readBytesWireFormat(buffer, bufferIndex); // Verify buffer wasn't modified except for the decode operationsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
* associated with it: It is not possible to "remove" a value, only to replace it with {@code null}, * which will still appear when iterating over the table's contents in a foreach loop or a call to a * null-hostile method like {@link ImmutableTable#copyOf}. For alternatives, please see <a * href="https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">the wiki</a>. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 42.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} } @Nested @DisplayName("Protected Method Tests") class ProtectedMethodTests { @Test @DisplayName("Should call haveResponse on decode") void testHaveResponseCalled() throws SMBProtocolDecodingException { TestServerMessageBlock2 customMessage = new TestServerMessageBlock2(mockConfig) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
} catch (_: InterruptedException) { Thread.currentThread().interrupt() // Retain interrupted status. throw InterruptedIOException() } } /** * The Okio timeout watchdog will call [timedOut] if the timeout is reached. In that case we close * the stream (asynchronously) which will notify the waiting thread. */ internal inner class StreamTimeout : AsyncTimeout() { override fun timedOut() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
return this; } final void addAll(@Nullable Object[] elements, int n) { checkElementsNotNull(elements, n); ensureRoomFor(n); /* * The following call is not statically checked, since arraycopy accepts plain Object for its * parameters. If it were statically checked, the checker would still be OK with it, sinceRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
} catch (NoSuchMethodException shouldBeImpossible) { // Fine: If it doesn't exist, then there's no chance that we're going to be asked to test it. } /* * These methods "should" call checkNotNull. However, I'm wary of accidentally introducing * anything that might slow down execution on such a hot path. Given that the methods are only * package-private, I feel OK with just not testing them for NPE.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
// may generate something like <capture#1-of ? extends Foo&SubFoo>. // Checking subtype between declared and actual type bounds // adds recursive isSubtypeOf() call and feels complicated. // There is no contract one way or another as long as isSubtypeOf() works as expected. combined.addAll(asList(typeParam.getBounds()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
cmd/object-api-utils_test.go
if err != nil { t.Fatalf("failed to create HTTP request for Put Object: <ERROR> %v", err) } // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(rec, req) ctx, cancel := context.WithCancel(GlobalContext) defer cancel() // Now check if we actually wrote to backend (regardless of the responseRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0)