Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 587 for setEnd (0.05 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt

          .callTimeout(10, TimeUnit.SECONDS)
          .build()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build()
    
        client.newCall(request).execute().use { response ->
          println("Response completed: $response")
        }
      }
    }
    
    fun main() {
      ConfigureTimeouts().run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

         */
        public abstract void connect() throws IOException;
    
        /**
         * Send data using RDMA
         *
         * @param data data buffer to send
         * @param region registered memory region for the data
         * @throws IOException if send fails
         */
        public abstract void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException;
    
        /**
         * Receive data using RDMA
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            item.setNewInput("first");
            assertEquals("first", item.toLineString());
            assertTrue(item.isUpdated());
            assertFalse(item.isDeleted());
    
            item.setNewInput("second");
            assertEquals("second", item.toLineString());
            assertTrue(item.isUpdated());
            assertFalse(item.isDeleted());
    
            item.setNewInput("");
            assertEquals("", item.toLineString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            when(locator.getURL()).thenReturn(createSmbURL("smb://"));
    
            // Mock successful but empty response
            when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> {
                // The response is the second argument
                Object response = invocation.getArgument(1);
                // Return it unchanged (which will have default values = empty results)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

        final CharMatcher first;
        final CharMatcher second;
    
        And(CharMatcher a, CharMatcher b) {
          first = checkNotNull(a);
          second = checkNotNull(b);
        }
    
        @Override
        public boolean matches(char c) {
          return first.matches(c) && second.matches(c);
        }
    
        @GwtIncompatible // used only from other GwtIncompatible code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

        super(ImmutableMap.<Object, ImmutableList<Object>>of(), 0);
      }
    
      /*
       * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most
       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            ServerMessageBlock response = new SmbComOpenAndXResponse();
    
            // Execute send
            tree.send(request, response);
    
            // Verify session.send was called and tid was set
            verify(session).send(request, response);
            assertEquals(123, request.tid);
        }
    
        @Test
        void testSendWithDfs() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertEquals(domain, type1Message.getSuppliedDomain());
        }
    
        @Test
        void testInitSecContext_state2_type3Message() throws Exception {
            // Test the second step (processing Type 2 and creating Type 3 message)
            when(mockAuth.getDomain()).thenReturn(domain);
            when(mockAuth.getUsername()).thenReturn(username);
            when(mockAuth.getPassword()).thenReturn(password);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            assertTrue(item.isUpdated());
            assertFalse(item.isDeleted());
            assertEquals("first", item.toLineString());
    
            item.setNewInput("second");
            assertTrue(item.isUpdated());
            assertFalse(item.isDeleted());
            assertEquals("second", item.toLineString());
    
            item.setNewInput("");
            assertTrue(item.isUpdated());
            assertTrue(item.isDeleted());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(tokL.isSupertypeOf(StringList.class.getGenericInterfaces()[0]));
    
        @SuppressWarnings("rawtypes") // Trying to test raw class
        TypeToken<Second> tokS = new TypeToken<Second>() {};
        assertTrue(tokS.isSupertypeOf(Second.class));
        assertTrue(tokS.isSupertypeOf(Third.class.getGenericSuperclass()));
      }
    
      public void testAssignableArrayToClass() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top