Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1551 - 1560 of 4,826 for new1 (0.1 seconds)

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

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        int getsPerTask = 1000;
        int nUniqueKeys = 10000;
        Random random = new Random(); // Randoms.insecureRandom();
    
        QueuingRemovalListener<String, String> removalListener = queuingRemovalListener();
        AtomicInteger computeCount = new AtomicInteger();
        AtomicInteger exceptionCount = new AtomicInteger();
        AtomicInteger computeNullCount = new AtomicInteger();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        int getsPerTask = 1000;
        int nUniqueKeys = 10000;
        Random random = new Random(); // Randoms.insecureRandom();
    
        QueuingRemovalListener<String, String> removalListener = queuingRemovalListener();
        AtomicInteger computeCount = new AtomicInteger();
        AtomicInteger exceptionCount = new AtomicInteger();
        AtomicInteger computeNullCount = new AtomicInteger();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

        @BeforeEach
        void setUp() {
            bind = new DcerpcBind();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Default constructor should create instance with default values")
            void testDefaultConstructor() {
                // When
                DcerpcBind defaultBind = new DcerpcBind();
    
                // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

      private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL;
    
      @BeforeExperiment
      void setUp() {
        Random random = new Random(randomSeed);
        xInts = new int[SAMPLE_SIZE];
        yInts = new int[SAMPLE_SIZE];
        xLongs = new long[SAMPLE_SIZE];
        yLongs = new long[SAMPLE_SIZE];
        constant = new int[SAMPLE_SIZE];
        for (int i = 0; i < SAMPLE_SIZE; i++) {
          xInts[i] = random.nextInt(Integer.MAX_VALUE);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/Service.java

     * #stopAsync()} lifecycle methods to transition between states. Example services include
     * webservers, RPC servers and timers.
     *
     * <p>The normal lifecycle of a service is:
     *
     * <ul>
     *   <li>{@linkplain State#NEW NEW} -&gt;
     *   <li>{@linkplain State#STARTING STARTING} -&gt;
     *   <li>{@linkplain State#RUNNING RUNNING} -&gt;
     *   <li>{@linkplain State#STOPPING STOPPING} -&gt;
     *   <li>{@linkplain State#TERMINATED TERMINATED}
     * </ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 10.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          return super.setException(t);
        }
      }
    
      enum Impl {
        NEW {
          @Override
          <T> Facade<T> newFacade() {
            return new NewAbstractFutureFacade<T>();
          }
        },
        OLD {
          @Override
          <T> Facade<T> newFacade() {
            return new OldAbstractFutureFacade<T>();
          }
        };
    
        abstract <T> Facade<T> newFacade();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java

         */
        private Result runCommand(String... args) {
            if (args.length == 0) {
                throw new IllegalArgumentException("Cannot execute with no command");
            }
    
            ByteArrayOutputStream stdout = new ByteArrayOutputStream();
            ByteArrayOutputStream stderr = new ByteArrayOutputStream();
    
            final ExecResult execResult = execOperations.exec(spec -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 14.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            throw new AssertionError("malformed class path entry: " + entry, e);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

    public final class CertificatePinning {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .certificatePinner(
              new CertificatePinner.Builder()
                  .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=")
                  .build())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/robots.txt")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Dec 08 21:30:01 GMT 2019
    - 1.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetCause() throws Exception {
            final Throwable t = new NullPointerException("test");
            final ClRuntimeException ex = new ClRuntimeException("ECL0017", asArray(t), t);
            assertThat(ex.getCause(), is(t));
            ex.printStackTrace();
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top