- Sort Score
- Result 10 results
- Languages All
Results 1181 - 1190 of 3,407 for rint (0.03 sec)
-
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
String host, int port, InetAddress localHost, int localPort) throws IOException { return configureSocket((SSLSocket) delegate.createSocket(host, port, localHost, localPort)); } @Override public Socket createSocket(InetAddress host, int port) throws IOException { return configureSocket((SSLSocket) delegate.createSocket(host, port)); } @Override public Socket createSocket(Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Mar 14 21:57:42 UTC 2019 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
* characters that it could read in read(char[], int, int). */ private static Reader newNonBufferFillingReader(Reader reader) { return new FilterReader(reader) { @Override public int read(char[] cbuf, int off, int len) throws IOException { // if a buffer isn't being cleared correctly, this method will eventually start being called
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
* characters that it could read in read(char[], int, int). */ private static Reader newNonBufferFillingReader(Reader reader) { return new FilterReader(reader) { @Override public int read(char[] cbuf, int off, int len) throws IOException { // if a buffer isn't being cleared correctly, this method will eventually start being called
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
*/ private void mockResponse(int code, String message, Map<String, List<String>> headers, InputStream errorStream) throws IOException { mockResponse(this.mockConnection, code, message, headers, errorStream); } /** * Helper method to mock the response of a specific HttpURLConnection instance. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
} @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange int access = 0x01; int errorCode = 0xC0000022; // Example error code (STATUS_ACCESS_DENIED) // Simulate RPC error doAnswer(invocation -> { MsrpcSamrOpenDomain rpc = invocation.getArgument(0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
public void testPutEmpty() { int size = getNumElements(); assertGet(k3(), ImmutableList.of()); assertTrue(multimap().put(k3(), v3())); assertGet(k3(), v3()); assertEquals(size + 1, multimap().size()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutPresent() { int size = getNumElements(); assertGet(k0(), v0());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
} @Test @DisplayName("Test size returns positive message size") void testSizeReturnsPositiveValue() { // Given int expectedSize = 1024; when(request.size()).thenReturn(expectedSize); // When int result = request.size(); // Then assertEquals(expectedSize, result); verify(request, times(1)).size(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
return (List<V>) getDelegate(); } @Override public boolean addAll(int index, Collection<? extends V> c) { if (c.isEmpty()) { return false; } int oldSize = size(); // calls refreshIfEmpty boolean changed = getListDelegate().addAll(index, c); if (changed) { int newSize = getDelegate().size(); totalSize += newSize - oldSize; if (oldSize == 0) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
} private static int repositoryHashCode(ArtifactRepository repository) { int result = 17; result = 31 * result + (repository.getId() != null ? repository.getId().hashCode() : 0); return result; } private static int repositoriesHashCode(List<ArtifactRepository> repositories) { int result = 17; for (ArtifactRepository repository : repositories) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 11.8K bytes - Viewed (0)