Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,186 for New (0.14 sec)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        testRotate(new float[] {1, 2}, -3, new float[] {2, 1});
        testRotate(new float[] {1, 2}, -1, new float[] {2, 1});
        testRotate(new float[] {1, 2}, -2, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 0, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 1, new float[] {2, 1});
        testRotate(new float[] {1, 2}, 2, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 3, new float[] {2, 1});
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  2. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        testSortDescending(new byte[] {}, 0, 0, new byte[] {});
        testSortDescending(new byte[] {1}, 0, 1, new byte[] {1});
        testSortDescending(new byte[] {1, 2}, 0, 2, new byte[] {2, 1});
        testSortDescending(new byte[] {1, 3, 1}, 0, 2, new byte[] {3, 1, 1});
        testSortDescending(new byte[] {1, 3, 1}, 0, 1, new byte[] {1, 3, 1});
        testSortDescending(
            new byte[] {GREATEST - 1, 1, GREATEST - 2, 2},
            1,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. 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)
  5. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

        void testHandleExceptionAetherClassNotFound() {
            Throwable cause2 = new NoClassDefFoundError("org/sonatype/aether/RepositorySystem");
            Plugin plugin = new Plugin();
            Exception cause = new PluginContainerException(plugin, null, null, cause2);
            PluginDescriptor pluginDescriptor = new PluginDescriptor();
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setPluginDescriptor(pluginDescriptor);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            .add(new Striped.LargeLazyStriped<ReadWriteLock>(50, READ_WRITE_LOCK_SUPPLIER))
            .add(new Striped.LargeLazyStriped<ReadWriteLock>(64, READ_WRITE_LOCK_SUPPLIER))
            .add(new Striped.SmallLazyStriped<Lock>(50, LOCK_SUPPLER))
            .add(new Striped.SmallLazyStriped<Lock>(64, LOCK_SUPPLER))
            .add(new Striped.LargeLazyStriped<Lock>(50, LOCK_SUPPLER))
            .add(new Striped.LargeLazyStriped<Lock>(64, LOCK_SUPPLER))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  8. 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)
  9. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
  10. 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)
Back to top