Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 5,184 for _new (0.3 sec)

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

            ImmutableList.of(
                new TestFuture(doneSuccess, "doneSuccess", doNothing),
                new TestFuture(doneFailed, "doneFailed", doNothing),
                new TestFuture(doneCancelled, "doneCancelled", doNothing),
                new TestFuture(doneRuntimeException, "doneRuntimeException", doNothing),
                new TestFuture(delayedSuccess, "delayedSuccess", finishSuccess),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                try ( SmbFile a = new SmbFile(f, "a.txt");
                      SmbFile b = new SmbFile(f, "b.txt");
                      SmbFile c = new SmbFile(f, "c.bar") ) {
    
                    a.createNewFile();
                    b.createNewFile();
                    c.createNewFile();
    
                    SmbFile[] files = f.listFiles(new DosFileFilter("*.txt", -1));
                    assertNotNull(files);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

      public void testRoundToDouble_maxDouble() {
        BigDecimal maxDoubleAsBD = new BigDecimal(Double.MAX_VALUE);
        new RoundToDoubleTester(maxDoubleAsBD).setExpectation(Double.MAX_VALUE, values()).test();
      }
    
      public void testRoundToDouble_maxDoublePlusOne() {
        BigDecimal maxDoubleAsBD = new BigDecimal(Double.MAX_VALUE).add(BigDecimal.ONE);
        new RoundToDoubleTester(maxDoubleAsBD)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

          new TestByteSource(new byte[10], OPEN_THROWS);
      private static final ByteSource BROKEN_READ_SOURCE =
          new TestByteSource(new byte[10], READ_THROWS);
      private static final ByteSink BROKEN_CLOSE_SINK = new TestByteSink(CLOSE_THROWS);
      private static final ByteSink BROKEN_OPEN_SINK = new TestByteSink(OPEN_THROWS);
      private static final ByteSink BROKEN_WRITE_SINK = new TestByteSink(WRITE_THROWS);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        skipHelper(0, 0, new ByteArrayInputStream(bytes));
        skipHelper(50, 50, new ByteArrayInputStream(bytes));
        skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 1));
        skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 0));
        skipHelper(100, -1, new ByteArrayInputStream(bytes));
        assertThrows(EOFException.class, () -> skipHelper(101, 0, new ByteArrayInputStream(bytes)));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final TestCloseable closeable1 = new TestCloseable("closeable1");
      final TestCloseable closeable2 = new TestCloseable("closeable2");
      final TestCloseable closeable3 = new TestCloseable("closeable3");
      final TestCloseable closeable4 = new TestCloseable("closeable4");
    
      final Waiter waiter = new Waiter();
      final CountDownLatch futureCancelled = new CountDownLatch(1);
      final Exception exception = new Exception();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/spnego/NegTokenInit.java

                if ( mechanismListMIC != null ) {
                    fields.add(new DERTaggedObject(true, 3, new DEROctetString(mechanismListMIC)));
                }
    
                ASN1EncodableVector ev = new ASN1EncodableVector();
                ev.add(SPNEGO_OID);
                ev.add(new DERTaggedObject(true, 0, new DERSequence(fields)));
                ByteArrayOutputStream collector = new ByteArrayOutputStream();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

        private ModelResolver newModelResolver() throws Exception {
            final File localRepo = new File(this.getLocalRepository().getBasedir());
            final DefaultRepositorySystemSession repoSession = new DefaultRepositorySystemSession(h -> false);
            repoSession.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo));
    
            return new ProjectModelResolver(
                    repoSession,
                    null,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .createTestSuite();
      }
    
      private static String[] dedupe(String[] elements) {
        Set<String> tmp = new LinkedHashSet<>();
        Collections.addAll(tmp, elements);
        return tmp.toArray(new String[0]);
      }
    
      static <T> Comparator<T> arbitraryNullFriendlyComparator() {
        return new NullFriendlyComparator<>();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        for (double x : VALUES) {
          AtomicDouble a = new AtomicDouble(x);
          assertBitEquals(x, a.get());
        }
      }
    
      /** default constructed initializes to zero */
      public void testConstructor2() {
        AtomicDouble a = new AtomicDouble();
        assertBitEquals(0.0, a.get());
      }
    
      /** get returns the last value set */
      public void testGetSet() {
        AtomicDouble at = new AtomicDouble(1.0);
        assertBitEquals(1.0, at.get());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 10.2K bytes
    - Viewed (0)
Back to top