Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 4,353 for news (0.1 sec)

  1. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      @BeforeExperiment
      protected void setUp() {
        BitSet bitSet = new BitSet();
        for (int i = 0; i < OLD_WHITESPACE_TABLE.length(); i++) {
          bitSet.set(OLD_WHITESPACE_TABLE.charAt(i));
        }
        bitSet.clear(0);
        bitSet.clear(1);
        matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE;
        teststring = newTestString(new Random(1), bitSet, percentMatching);
      }
    
      @Benchmark
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/HMACT64Test.java

        private static final byte[] TEST_KEY = "testkey".getBytes();
        private static final byte[] LONG_TEST_KEY = new byte[80]; // Longer than 64 bytes
        private static final byte[] SHORT_TEST_KEY = "short".getBytes();
        private static final byte[] TEST_DATA = "testdata".getBytes();
        private static final byte[] EMPTY_DATA = new byte[0];
    
        static {
            // Initialize long key with predictable data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            // Test getMessage behavior with complex cause structure
            final Exception innerCause = new NullPointerException("NPE occurred");
            final Exception outerCause = new IllegalStateException("State error", innerCause);
            final JobProcessingException exception = new JobProcessingException(outerCause);
    
            assertNotNull(exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        }
      }
    
      public void testBridgeMethodIgnored() {
        new NullPointerTester().testAllPublicInstanceMethods(new StringFoo());
      }
    
      private abstract static class DefaultValueChecker {
    
        private final Map<Integer, Object> arguments = new HashMap<>();
    
        @CanIgnoreReturnValue
        final DefaultValueChecker runTester() {
          new NullPointerTester().testInstanceMethods(this, Visibility.PACKAGE);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

        public void testDurableHandleReconnectInvalidFileId() {
            assertThrows(IllegalArgumentException.class, () -> {
                new DurableHandleReconnect(new byte[8]); // Wrong length
            });
    
            assertThrows(IllegalArgumentException.class, () -> {
                new DurableHandleReconnect(new byte[20]); // Wrong length
            });
        }
    
        @Test
        public void testHandleType() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            byte[] buffer = new byte[4];
            pdis.readFully(buffer);
            assertArrayEquals(data, buffer);
        }
    
        @Test
        public void testReadFullyWithOffset() throws IOException {
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            PacDataInputStream pdis = createInputStream(data);
            byte[] buffer = new byte[6];
            pdis.readFully(buffer, 1, 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        StringCatcher stringCatcher = new StringCatcher();
    
        List<Object> objectEvents = new ArrayList<>();
        Object objCatcher =
            new Object() {
              @Subscribe
              public void eat(Object food) {
                objectEvents.add(food);
              }
            };
    
        List<Comparable<?>> compEvents = new ArrayList<>();
        Object compCatcher =
            new Object() {
              @Subscribe
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsCrawlingInfoCA.java

            CrawlingInfoCQ cq = new CrawlingInfoCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                CrawlingInfoCA ca = new CrawlingInfoCA();
                aggsLambda.callback(ca);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            return container;
        }
    
        protected File getProject(String name) throws Exception {
            File source = new File(new File(getBasedir(), getProjectsDirectory()), name);
            File target = new File(new File(getBasedir(), "target"), name);
            FileUtils.copyDirectoryStructureIfModified(source, target);
            return new File(target, "pom.xml");
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        public ArtifactRepository buildArtifactRepository(Repository repository) throws InvalidRepositoryException {
            return new MavenArtifactRepository(
                    repository.getId(),
                    repository.getUrl(),
                    new DefaultRepositoryLayout(),
                    new ArtifactRepositoryPolicy(),
                    new ArtifactRepositoryPolicy());
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top