Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2001 - 2010 of 4,619 for _new (0.02 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

      }
    
      public void testNoForwardingOfDefaultMethod() throws Exception {
        ExecutorService delegate =
            new ThreadPoolExecutor(0, Integer.MAX_VALUE, 60, SECONDS, new SynchronousQueue<>()) {
              @Override
              public void close() {
                throw new AssertionError(
                    "ForwardingExecutorService should have used the default method"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 18:45:52 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java

            this.longMessage = longMessage;
        }
    
        /**
         * Constructs a new {@code MojoException} wrapping an underlying {@code Throwable}
         * and providing a {@code message}.
         */
        public MojoException(String message, Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new {@code MojoException} providing a {@code message}.
         */
        public MojoException(String message) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

      private static final int[] exponents = new int[ARRAY_SIZE];
      private static final int[] factorialArguments = new int[ARRAY_SIZE];
      private static final int[][] binomialArguments = new int[ARRAY_SIZE][2];
      private static final long[] positive = new long[ARRAY_SIZE];
      private static final long[] nonnegative = new long[ARRAY_SIZE];
      private static final long[] longs = new long[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

        checkNotNull(unit);
        Thread interruptee = Thread.currentThread();
        new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      unit.sleep(time);
                    } catch (InterruptedException wontHappen) {
                      throw new AssertionError(wontHappen);
                    }
                    interruptee.interrupt();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

            if (listener == null) {
                return null;
            } else {
                return new TransferListenerAdapter(listener);
            }
        }
    
        private TransferListenerAdapter(ArtifactTransferListener listener) {
            this.listener = listener;
            this.artifacts = new IdentityHashMap<>();
            this.transfers = new IdentityHashMap<>();
        }
    
        @Override
        public void debug(String message) {}
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

          assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s));
        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        }
      }
    
      private <T extends @Nullable Object> void actsLikeIteratorHelper(List<T> list) {
        // Check with modifiable copies of the list
        new PeekingIteratorTester<T>(list).test();
    
        // Check with unmodifiable lists
        new IteratorTester<T>(
            list.size() * 2 + 2, UNMODIFIABLE, list, IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<T> newTargetIterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

        static final long serialVersionUID = 0L;
    
        private transient Map<String, Object> map = new CaseInsensitiveMap<>();
    
        private static final Object PRESENT = new Object();
    
        /**
         * Creates a {@link CaseInsensitiveSet}.
         */
        public CaseInsensitiveSet() {
            map = new CaseInsensitiveMap<>();
        }
    
        /**
         * Creates a {@link CaseInsensitiveSet}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java

            exception.expectMessage(is("index=2"));
            final ArrayIterator<Integer> itr = new ArrayIterator<Integer>(new Integer[] { 1, 2 });
            itr.next();
            itr.next();
            itr.next();
        }
    
        /**
         *
         */
        @Test
        public void testHasNext() {
            final ArrayIterator<String> itr = new ArrayIterator<String>("A", "B");
            assertThat(itr.hasNext(), is(true));
            itr.next();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
                        }
                        array = new ShareInfo0[_arrays];
                    }
                    _src = _src.derive(_arrayi);
                    for (int _i = 0; _i < _arrays; _i++) {
                        if (array[_i] == null) {
                            array[_i] = new ShareInfo0();
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
Back to top