Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 5,228 for newA (0.02 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

      }
    
      public void testIsEmpty_iterable() {
        List<Object> list = new ArrayList<>();
        assertEmpty(list);
        assertEmpty(() -> emptyIterator());
    
        list.add("a");
        try {
          assertEmpty(list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
        try {
          assertEmpty(
              new Iterable<String>() {
                @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

      }
    
      public void testIsEmpty_iterable() {
        List<Object> list = new ArrayList<>();
        assertEmpty(list);
        assertEmpty(() -> emptyIterator());
    
        list.add("a");
        try {
          assertEmpty(list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
        try {
          assertEmpty(
              new Iterable<String>() {
                @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java

            NormalizerChain chain = new NormalizerChain();
            chain.add(new FullWidthToHalfWidthAlphabetNormalizer());
            chain.add(new HankakuKanaToZenkakuKana());
    
            String result = chain.normalize("abc ガ", "field");
    
            assertEquals("abc ガ", result);
        }
    
        @Test
        public void test_normalizerOrder() throws Exception {
            NormalizerChain chain = new NormalizerChain();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/ServerResponseValidator.java

        private static final int MAX_PATH_SIZE = 32767;
    
        // Statistics
        private final AtomicLong totalValidations = new AtomicLong(0);
        private final AtomicLong failedValidations = new AtomicLong(0);
        private final AtomicLong bufferOverflowsPrevented = new AtomicLong(0);
        private final AtomicLong integerOverflowsPrevented = new AtomicLong(0);
    
        /**
         * Validate SMB response buffer bounds
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

         */
        @Test
        void testReadDataWireFormat_SmbInfoAllocation() {
            Trans2QueryFSInformationResponse response =
                    new Trans2QueryFSInformationResponse(Trans2QueryFSInformationResponse.SMB_INFO_ALLOCATION);
            byte[] buffer = new byte[20];
            // Mock data for SmbInfoAllocation
            // idFileSystem (4 bytes, skipped)
            writeInt4(100, buffer, 4); // sectPerAlloc
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java

            // Setup
            ResponseData responseData = new ResponseData();
            byte[] content = "<sitemap></sitemap>".getBytes();
            responseData.setResponseBody(content);
    
            SitemapUrl sitemap = new SitemapUrl();
            sitemap.setLoc("https://example.com/page1");
    
            SitemapSet sitemapSet = new SitemapSet();
            sitemapSet.addSitemap(sitemap);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

            logger.info("Creating {}", IMAGE_NAME);
            minioServer = new GenericContainer<>(IMAGE_NAME)//
                    .withEnv("MINIO_ACCESS_KEY", ACCESS_KEY)//
                    .withEnv("MINIO_SECRET_KEY", SECRET_KEY)//
                    .withExposedPorts(port)//
                    .withCommand("server /data")//
                    .waitingFor(new HttpWaitStrategy()//
                            .forPath("/minio/health/ready")//
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogTest.java

            QueryLog queryLog = new QueryLog("test query", "test filter");
    
            assertNotNull(queryLog);
            assertEquals("test query", queryLog.getQueryString());
            assertEquals("test filter", queryLog.getFilterQueryString());
        }
    
        @Test
        public void test_constructorWithNullFilter() throws Exception {
            QueryLog queryLog = new QueryLog("test query", null);
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              }
            };
        static final PermittedMetaException UOE =
            new PermittedMetaException("UnsupportedOperationException") {
              @Override
              boolean isPermitted(Exception exception) {
                return exception instanceof UnsupportedOperationException;
              }
            };
        static final PermittedMetaException ISE =
            new PermittedMetaException("IllegalStateException") {
              @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ShortsTest.java

        testRotate(new short[] {1, 2}, -3, new short[] {2, 1});
        testRotate(new short[] {1, 2}, -1, new short[] {2, 1});
        testRotate(new short[] {1, 2}, -2, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 0, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 1, new short[] {2, 1});
        testRotate(new short[] {1, 2}, 2, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 3, new short[] {2, 1});
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 27.5K bytes
    - Viewed (0)
Back to top