Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,339 for _new (0.14 sec)

  1. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[0], false);
        doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[1], true);
    
        doTestToArrayImpl2(Lists.newArrayList(1), new Integer[0], false);
        doTestToArrayImpl2(Lists.newArrayList(1), new Integer[1], true);
        doTestToArrayImpl2(Lists.newArrayList(1), new Integer[] {2, 3}, true);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(0, new BigDecimal("0.01").compareTo(BigDecimalConversionUtil.toBigDecimal(new Double(0.01D))));
            assertEquals(0, new BigDecimal("0.001").compareTo(BigDecimalConversionUtil.toBigDecimal(new Double(0.001D))));
            assertEquals(0, new BigDecimal("0.0001").compareTo(BigDecimalConversionUtil.toBigDecimal(new Double(0.0001D))));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
  4. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                    new SimpleLookup(List.of(new DefaultRepositoryFactory(new DefaultRemoteRepositoryManager(
                            new DefaultUpdatePolicyAnalyzer(), new DefaultChecksumPolicyProvider())))),
                    null);
            InternalSession.associate(session, iSession);
    
            ArtifactResolutionResult result = repositorySystem.resolve(request);
            resolutionErrorHandler.throwErrors(request, result);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top