Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 121 for courte (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/util/ResourceManagerTest.java

            System.gc();
            Thread.sleep(200);
    
            // Check for leaks
            resourceManager.checkForLeaks();
    
            Map<String, Object> stats = resourceManager.getStatistics();
            // The leak counter may or may not increment depending on GC timing
            assertNotNull(stats.get("totalLeaks"));
        }
    
        private void createLeakyResource() {
            TestResource resource = new TestResource("leaky");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

            .build(),
        )
        val asyncRequestBody: RequestBody =
          object : RequestBody() {
            var counter = 0
    
            override fun contentType() = null
    
            override fun writeTo(sink: BufferedSink) {
              counter++
              assertThat(counter).isLessThanOrEqualTo(1)
              sink.writeUtf8("Hello request!")
              sink.close()
            }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  3. apache-maven/src/main/appended-resources/licenses/EPL-1.0.txt

    works, in source code and object code form.
    
    b) Subject to the terms of this Agreement, each Contributor hereby grants
    Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
    Patents to make, use, sell, offer to sell, import and otherwise transfer the
    Contribution of such Contributor, if any, in source code and object code form.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 17 05:50:12 GMT 2018
    - 11.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        /**
         * The version of this test supplied by {@link MapInterfaceTest} fails for this particular map
         * implementation, because {@code map.get()} returns a view collection that changes in the
         * course of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code
         * map.remove(x)} returns the same value which {@code map.get(x)} did immediately beforehand.
         */
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  5. docs/features/events.md

      }
    
      ...
    }
    ```
    
    We make a couple calls:
    
    ```java
    Request request = new Request.Builder()
        .url("https://publicobject.com/helloworld.txt")
        .build();
    
    System.out.println("REQUEST 1 (new connection)");
    try (Response response = client.newCall(request).execute()) {
      // Consume and discard the response body.
      response.body().source().readByteString();
    }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/Helpers.java

      public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
        List<?> exp = copyToList(expected);
        List<?> act = copyToList(actual);
        String actString = act.toString();
    
        // Of course we could take pains to give the complete description of the
        // problem on any failure.
    
        // Yeah it's n^2.
        for (Object object : exp) {
          if (!act.remove(object)) {
            fail(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                return context;
            }
    
            /**
             * Increments the counter.
             */
            public void inc() {
                counter++;
            }
    
            @Override
            public void close() {
                if (counter > 1) {
                    counter--;
                } else {
                    try {
                        if (context != null) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 86.3K bytes
    - Click Count (0)
  8. CLAUDE.md

    context.setNumOfThread(10);       // Concurrent threads
    ```
    
    ### Accessing Results
    
    ```java
    DataService ds = container.getComponent("dataService");
    
    // Count
    int count = ds.getCount(sessionId);
    
    // Get by URL
    AccessResult result = ds.getAccessResult(sessionId, url);
    
    // Iterate all
    ds.iterate(sessionId, accessResult -> {
        System.out.println(accessResult.getUrl());
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Fri Nov 28 17:31:34 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                        }
                    },
                    PROJECT_PREFIXES,
                    false);
    
            List<ValueSource> valueSources = new ArrayList<>(9);
    
            // NOTE: Order counts here!
            valueSources.add(basedirValueSource);
            valueSources.add(baseUriValueSource);
            valueSources.add(new BuildTimestampValueSource(config.getBuildStartTime(), timestampFormat));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            assertEquals(State.CLOSED, circuitBreaker.getState(), "Initial state should be CLOSED");
            assertEquals(0, circuitBreaker.getFailureCount(), "Initial failure count should be 0");
            assertEquals(0, circuitBreaker.getSuccessCount(), "Initial success count should be 0");
        }
    
        @Test
        public void testSuccessfulOperation() throws CIFSException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
Back to Top