Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,036 for cleared (1.2 sec)

  1. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        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
            // with a len of 0 forever
            if (len <= 0) {
              fail("read called with a len of " + len);
            }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

        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
            // with a len of 0 forever
            if (len <= 0) {
              fail("read called with a len of " + len);
            }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. tests/association_generics_test.go

    	).Create(ctx)
    	if err != nil {
    		t.Fatalf("Set Create failed: %v", err)
    	}
    
    	// Find the created user
    	var user User
    	if err := DB.Where("name = ?", "TestClauseAssociationSetCreateWithOpCreate").First(&user).Error; err != nil {
    		t.Fatalf("failed to find created user: %v", err)
    	}
    
    	// Test Set + Update with Association OpCreate
    	assocOp := clause.Association{
    		Association: "Pets",
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 05:42:26 UTC 2025
    - 37.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

     *
     * To run this benchmark:
     * mvn test -Dtest=CompositeBeanHelperPerformanceTest -pl impl/maven-core
     *
     * The main method will execute the JMH benchmarks with the configured parameters.
     *
     * IMPORTANT: Caches are only cleared between trials (10-second periods), not between individual
     * iterations, to properly test the cache benefits within each measurement period.
     */
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MICROSECONDS)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/FinalizableReferenceQueue.java

     *     serverSocket.close();
     *   }
     * }
     * }
     *
     * <p id="cleaner">Here is how you might achieve the same thing using {@link java.lang.ref.Cleaner
     * Cleaner}, if you are using a Java version where that is available:
     *
     * {@snippet :
     * public class MyServer implements Closeable {
     *   private static final Cleaner cleaner = Cleaner.create();
     *   // You might also share this between several objects.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            AuthenticationRateLimiter.RateLimiterStats stats = rateLimiter.getStats();
            assertTrue(stats.getActiveAccounts() > 0);
    
            // Reset
            rateLimiter.reset();
    
            // State should be cleared
            stats = rateLimiter.getStats();
            assertEquals(0, stats.getTotalBlocked());
            assertEquals(0, stats.getAccountsLocked());
            assertEquals(0, stats.getIpsBlocked());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMultimap.java

            }
            /*
             * requireNonNull is safe: The first call to this method always enters the !hasNext() case
             * and populates currentKey, after which it's never cleared.
             */
            return immutableEntry(requireNonNull(currentKey), valueItr.next());
          }
        };
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

          executorService.execute(
              () -> {
                lock.lock();
                try {
                  startUp();
                  /*
                   * requireNonNull is safe because executorService is never cleared after the
                   * assignment above.
                   */
                  requireNonNull(executorService);
                  runningTask = scheduler().schedule(delegate, executorService, task);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  9. src/archive/zip/writer.go

    	// in CP-437 (which is mostly compatible with ASCII), unless the UTF-8
    	// flag bit is set. However, there are several problems:
    	//
    	//	* Many ZIP readers still do not support UTF-8.
    	//	* If the UTF-8 flag is cleared, several readers simply interpret the
    	//	name and comment fields as whatever the local system encoding is.
    	//
    	// In order to avoid breaking readers without UTF-8 support,
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMultimap.java

            }
            /*
             * requireNonNull is safe: The first call to this method always enters the !hasNext() case
             * and populates currentKey, after which it's never cleared.
             */
            return immutableEntry(requireNonNull(currentKey), valueItr.next());
          }
        };
      }
    
      @Override
      @GwtIncompatible("Spliterator")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
Back to top