Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 626 for sekonda (0.07 sec)

  1. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 100, callback);
            thread.start();
    
            assertTrue("Should process all lines within timeout", latch.await(3, TimeUnit.SECONDS));
    
            thread.join(1000);
    
            assertEquals("All lines should be processed", 5000, receivedLines.size());
            assertEquals("First line", "Line number 0", receivedLines.get(0));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        val executor =
          ThreadPoolExecutor(
            // corePoolSize:
            0,
            // maximumPoolSize:
            Int.MAX_VALUE,
            // keepAliveTime:
            60L,
            TimeUnit.SECONDS,
            SynchronousQueue(),
            threadFactory,
          )
    
        override fun nanoTime() = System.nanoTime()
    
        override fun coordinatorNotify(taskRunner: TaskRunner) {
          taskRunner.notify()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      }
    
      private fun drainCancelQueue(eventSource: EventSource) {
        if (cancel) {
          cancel = false
          eventSource.cancel()
        }
      }
    
      private fun nextEvent(): Any =
        events.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for event.")
    
      fun assertExhausted() {
        assertThat(events).isEmpty()
      }
    
      fun assertEvent(
        id: String?,
        type: String?,
        data: String,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/DfsReferral.java

     */
    public class DfsReferral extends SmbException {
    
        /** Number of characters consumed from the path */
        public int pathConsumed;
        /** Time to live for this referral in seconds */
        public long ttl;
        /** Target server for this referral */
        public String server; // Server
        /** Target share for this referral */
        public String share; // Share
        /** The complete UNC path link */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            c.acquire();
            verify(tree, times(1)).acquire();
    
            // Act: second acquire does not call tree.acquire again
            c.acquire();
            verify(tree, times(1)).acquire();
    
            // Act: first release does not release yet (usage -> 1)
            c.release();
            verify(tree, never()).release();
    
            // Act: second release (usage -> 0) releases the tree
            c.release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/BaseContextTest.java

            // Then
            assertNotNull(resource1, "First resource should be created");
            assertNotNull(resource2, "Second resource should be created");
            assertNotNull(pipe1, "First pipe should be created");
            assertNotNull(pipe2, "Second pipe should be created");
    
            assertNotSame(resource1, resource2, "Different resources should be different instances");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. 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)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

    class PerCallSettings {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
            .build()
    
        // Copy to customize OkHttp for this request.
        val client1 =
          client
            .newBuilder()
            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build()
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

      }
    
      public void testMapping() {
        Map<Character, String> map =
            ImmutableMap.of(
                '\0', "zero",
                'a', "first",
                'b', "second",
                'z', "last",
                '\uFFFF', "biggest");
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        char[][] replacementArray = fem.getReplacementArray();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolver.java

        /**
         * Determines which of the specified versions of an artifact to use when there are conflicting declarations.
         *
         * @param node1 the first artifact declaration
         * @param node2 the second artifact declaration
         * @return the artifact declaration to use: <code>node1</code>; <code>node2</code>; or <code>null</code>if
         *         this conflict cannot be resolved
         * @since 3.0
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top