Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,196 for new (0.26 sec)

  1. android/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 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

      private final ForwardingWrapperTester tester = new ForwardingWrapperTester();
    
      public void testGoodForwarder() {
        tester.testForwarding(
            Arithmetic.class,
            new Function<Arithmetic, Arithmetic>() {
              @Override
              public Arithmetic apply(Arithmetic arithmetic) {
                return new ForwardingArithmetic(arithmetic);
              }
            });
        tester.testForwarding(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

          ImmutableList.of(
              new ExpectedHashCode(
                  new byte[] {
                    (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x89,
                    (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01
                  },
                  0x89abcdef,
                  0x0123456789abcdefL,
                  "efcdab8967452301"),
              new ExpectedHashCode(
                  new byte[] {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

            int offset = 45;
            try (RankFusionProcessor rankFusionProcessor = new RankFusionProcessor()) {
                rankFusionProcessor.setSeacher(new TestMainSearcher(allRecordCount));
                rankFusionProcessor.register(new TestSubSearcher(10, 45, 45));
                rankFusionProcessor.init();
    
                if (rankFusionProcessor.search(query, new TestSearchRequestParams(0, pageSize, 0),
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
          assertEquals(
              new Sink(4).putUnencodedChars(s).hash(),
              new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash());
          assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. 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 (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

        Type type = new TypeCapture<T[]>() {}.capture();
        assertVisited(type);
        new BaseTypeVisitor() {
          @Override
          void visitGenericArrayType(GenericArrayType t) {}
        }.visit(type);
      }
    
      public <T> void testVisitParameterizedType() {
        Type type = new TypeCapture<Iterable<T>>() {}.capture();
        assertVisited(type);
        new BaseTypeVisitor() {
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/CurlRequest.java

            if (paramList == null) {
                paramList = new ArrayList<>();
            }
            paramList.add(encode(key) + "=" + encode(value));
            return this;
        }
    
        public CurlRequest header(final String key, final String value) {
            if (headerList == null) {
                headerList = new ArrayList<>();
            }
            headerList.add(new String[] { key, value });
            return this;
        }
    
    Java
    - Registered: Thu May 02 15:34:13 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  9. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K 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