Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 6,205 for newA (0.05 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java

            List<QuerySearchResult> shards = new ArrayList<>();
            for (int i = 0; i < candidateList.size(); i++) {
                QuerySearchResult result = new QuerySearchResult();
                result.setShardIndex(i);
                result.from(0);
                result.size(0);
                result.topDocs(
                    new TopDocsAndMaxScore(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 15:45:38 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  2. internal/crypto/key.go

    	}
    	if len(extKey) != 32 { // safety check
    		logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length"))
    	}
    	var nonce [32]byte
    	if _, err := io.ReadFull(random, nonce[:]); err != nil {
    		logger.CriticalIf(context.Background(), errOutOfEntropy)
    	}
    
    	const Context = "object-encryption-key generation"
    	mac := hmac.New(sha256.New, extKey)
    	mac.Write([]byte(Context))
    	mac.Write(nonce[:])
    	mac.Sum(key[:0])
    	return key
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java

            SuggestIndexResponse response2 = new SuggestIndexResponse(10, 5, errors, 100);
            assertTrue(response2.hasError());
        }
    
        @Test
        public void test_getErrors() throws Exception {
            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Error 1"));
            errors.add(new RuntimeException("Error 2"));
    
            SuggestIndexResponse response = new SuggestIndexResponse(10, 5, errors, 100);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        void testUrlCreationWithHandler() throws Exception {
            // Act - Create various SMB URLs using the handler
            URL url1 = new URL(null, "smb://host/share", handler);
            URL url2 = new URL(null, "smb://host:1234/share/file.txt", handler);
            URL url3 = new URL(null, "smb://user:pass@host/share", handler);
    
            // Assert - Verify URL components
            assertEquals("smb", url1.getProtocol());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            // Multiple write calls should accumulate
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2 });
            assertTrue(cos.isInMemory());
            cos.write(new byte[] { 3, 4 });
            assertTrue(cos.isInMemory());
            cos.write(new byte[] { 5 });
            assertTrue(cos.isInMemory());
            assertFalse(cos.done);
            cos.close();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            conditions.put("q", new String[] { "search term" });
            conditions.put("epq", new String[] { "exact phrase" });
            conditions.put("oq", new String[] { "word1 word2" });
            conditions.put("nq", new String[] { "exclude" });
            conditions.put("filetype", new String[] { "pdf" });
            conditions.put("sitesearch", new String[] { "example.com" });
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

        assertPutString(
            new char[] {
              HashTestUtils.randomLowSurrogate(new Random()),
              HashTestUtils.randomHighSurrogate(new Random())
            });
      }
    
      public void testPutStringWithHighLowSurrogate() {
        assertPutString(
            new char[] {
              HashTestUtils.randomHighSurrogate(new Random()),
              HashTestUtils.randomLowSurrogate(new Random())
            });
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        testSortDescending(new long[] {}, 0, 0, new long[] {});
        testSortDescending(new long[] {1}, 0, 1, new long[] {1});
        testSortDescending(new long[] {1, 2}, 0, 2, new long[] {2, 1});
        testSortDescending(new long[] {1, 3, 1}, 0, 2, new long[] {3, 1, 1});
        testSortDescending(new long[] {1, 3, 1}, 0, 1, new long[] {1, 3, 1});
        testSortDescending(
            new long[] {GREATEST - 1, 1, GREATEST - 2, 2},
            1,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java

            String[][] readings2 = new String[1][];
            readings2[0] = new String[] { "bad" };
            items[1] = new SuggestItem(new String[] { "bad" }, readings2, new String[] { "content" }, 1, 0, -1, new String[] { "tag1" },
                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT);
    
            // Another good item
            String[][] readings3 = new String[1][];
            readings3[0] = new String[] { "another" };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            // Test ID change
            event.setId("new-id-456");
            assertEquals("new-id-456", event.getId());
    
            // Test null ID
            NullSearchLogEvent nullEvent = new NullSearchLogEvent();
            assertNull(nullEvent.getId());
    
            // Test empty ID
            EmptySearchLogEvent emptyEvent = new EmptySearchLogEvent();
            assertEquals("", emptyEvent.getId());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
Back to Top