- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 4,969 for new1 (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
when(delegate.hasNext()).thenReturn(true, true, false); when(delegate.next()).thenReturn(entry1, entry2); when(filter.accept(resource)).thenThrow(new CIFSException("Error")).thenReturn(true); TestIterator iterator = new TestIterator(filter); // Verify iteration assertTrue(iterator.hasNext()); assertSame(resource, iterator.next());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java
final Map<String, Object> doc = new HashMap<>(); // leave required fields empty final List<VaMessenger<FessMessages>> errorMessages = new ArrayList<>(); AdminSearchlistAction.validateFields(doc, errorMessages::add); assertFalse(errorMessages.isEmpty()); final FessMessages messages = new FessMessages(); errorMessages.forEach(m -> m.message(messages));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 34.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
byte[] originalSalt = new byte[32]; new Random(42).nextBytes(originalSalt); PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, originalHashAlgos, originalSalt); int encoded = originalContext.encode(buffer, 0); PreauthIntegrityNegotiateContext decodedContext = new PreauthIntegrityNegotiateContext();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 34K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java
@Test public void test_processDirectMemberOf_collectsGroupIds() throws Exception { EntraIdAuthenticator authenticator = new EntraIdAuthenticator(); List<String> groupList = new ArrayList<>(); List<String> roleList = new ArrayList<>(); List<String> groupIdsForParentLookup = new ArrayList<>(); // Call with invalid URL - should handle gracefullyCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 19.3K bytes - Click Count (0) -
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) -
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) -
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) -
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) -
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) -
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)