Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 615 for setEnd (0.46 sec)

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

            assertEquals(2, callbackResults.size());
            assertEquals("integration test", callbackResults.get(0));
            assertEquals("second line", callbackResults.get(1));
    
            String output = thread.getOutput();
            assertTrue(output.contains("integration test"));
            assertTrue(output.contains("second line"));
        }
    
        public void test_defaultBufferSizeConstant() throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/ResponseTest.java

            verify(mockResponse, times(1)).getErrorCode();
        }
    
        @Test
        void testSetMid() {
            long mid = 12345L;
            mockResponse.setMid(mid);
    
            // Verify that the method was called with the correct argument
            verify(mockResponse, times(1)).setMid(mid);
        }
    
        @Test
        void testGetMid() {
            long mid = 54321L;
            when(mockResponse.getMid()).thenReturn(mid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. cmd/data-usage.go

    	z, ok := objAPI.(*erasureServerPools)
    	if !ok {
    		// Prefix usage is empty
    		return map[string]uint64{}, nil
    	}
    
    	cache := dataUsageCache{}
    
    	prefixUsageCache.InitOnce(30*time.Second,
    		// No need to fail upon Update() error, fallback to old value.
    		cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    		func(ctx context.Context) (map[string]uint64, error) {
    			m := make(map[string]uint64)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java

            .callTimeout(10, TimeUnit.SECONDS)
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          System.out.println("Response completed: " + response);
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Sep 28 18:00:26 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NetworkExplorer.java

                }
            }
        }
    
        /**
         * Compares two SMB files by name
         * @param f1 first file to compare
         * @param f1name name of first file
         * @param f2 second file to compare
         * @return comparison result for sorting
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

          } catch (TimeoutException tryHarder) {
            /* OK */
          }
        } while (System.nanoTime() - deadline < 0);
        throw formatRuntimeException("Future not done within %d second timeout", timeoutSeconds);
      }
    
      /**
       * Waits until the given predicate returns true, invoking the garbage collector as necessary to
       * try to ensure that this will happen.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                // v1 node string follows
                bb.put("\\server1\0".getBytes(StandardCharsets.UTF_16LE));
    
                // Position for second referral
                bb.position(28); // 8 header + 20 first referral
    
                // Second Referral v1
                bb.putShort((short) 1); // version
                bb.putShort((short) 22); // size
                bb.putShort((short) 2); // serverType
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

     * interpret a token.
     *
     * For example, the first line has a parameter name/value pair and the second line has a single
     * token68:
     *
     * ```
     * WWW-Authenticate: Digest foo=bar
     * WWW-Authenticate: Digest foo=
     * ```
     *
     * Similarly, the first line has one challenge and the second line has two challenges:
     *
     * ```
     * WWW-Authenticate: Digest ,foo=bar
     * WWW-Authenticate: Digest ,foo
     * ```
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            FwAssistantDirector assistantDirector = createMockAssistantDirector();
    
            // First invocation
            curtainFinallyHook.hook(assistantDirector);
    
            // Second invocation - should also work without issues
            curtainFinallyHook.hook(assistantDirector);
    
            // Third invocation
            curtainFinallyHook.hook(assistantDirector);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            jobExecutor.addShutdownListener(listener1);
            assertEquals(listener1, jobExecutor.shutdownListener);
    
            // Replace with second listener
            jobExecutor.addShutdownListener(listener2);
            assertEquals(listener2, jobExecutor.shutdownListener);
    
            // Verify only second listener is called
            jobExecutor.shutdown();
            assertEquals(10, callCount.get());
        }
    
        public void test_shutdown() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top