- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,392 for First (1.61 sec)
-
src/main/java/org/codelibs/fess/util/RenderDataUtil.java
if (value instanceof final Collection<?> coll && !coll.isEmpty()) { // care performance for List that the most frequent pattern final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next(); if (first instanceof Entity) { data.register(key, coll.stream().map(BeanUtil::copyBeanToNewMap).collect(Collectors.toList())); return;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
originalBuffer[offset++] = (byte) 1; // directory = true // Decode into first instance FileStandardInfo firstInstance = new FileStandardInfo(); firstInstance.decode(originalBuffer, 0, originalBuffer.length); // Encode from first instance byte[] encodedBuffer = new byte[22]; firstInstance.encode(encodedBuffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
fileSystem.source(this@asRequestBody).use { source -> sink.writeAll(source) } } } @JvmStatic @Deprecated( message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = ReplaceWith( expression = "content.toRequestBody(contentType)", imports = ["okhttp3.RequestBody.Companion.toRequestBody"], ),
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 14:16:29 UTC 2025 - 9.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java
assertEquals("test-session", retrieved.getSessionId()); assertEquals("http://example.com", retrieved.getUrl()); } public void test_urlQueue_setNull() { // Set a UrlQueue first UrlQueue<?> urlQueue = createMockUrlQueue("test", "http://test.com"); CrawlingParameterUtil.setUrlQueue(urlQueue); assertNotNull(CrawlingParameterUtil.getUrlQueue()); // Set to null
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
assertNotNull(lsarSidArrayX.sids, "sids array should not be null"); assertEquals(2, lsarSidArrayX.sids.length, "sids array length should match"); assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly"); assertEquals(sidT2, lsarSidArrayX.sids[1].sid, "Second SID should be unwrapped correctly"); } @Test void testConstructorWithJcifsSIDArrayDirectAssignment() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
tests/test_security_openid_connect_optional.py
return user @app.get("/users/me") def read_current_user(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_oauth2(): response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.4K bytes - Viewed (0) -
.github/PULL_REQUEST_TEMPLATE
This PR will be imported into Gerrit with the title and first comment (this text) used to generate the subject and body of the Gerrit change. **Please ensure you adhere to every item in this list.** More info can be found at https://github.com/golang/go/wiki/CommitMessage + The PR title is formatted as follows: `net/http: frob the quux before blarfing` + The package name goes before the colon
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Feb 21 02:07:46 UTC 2018 - 1.2K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java
assertEquals(2, problems.size(), "Should collect both problems"); assertEquals(Problem.Severity.ERROR, problems.get(0).getSeverity(), "First problem should be ERROR"); assertEquals("Error message", problems.get(0).getMessage(), "First problem should have correct message"); assertEquals(Problem.Severity.WARNING, problems.get(1).getSeverity(), "Second problem should be WARNING"); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Jul 20 20:19:43 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); } @Test void close_shouldClosePolicySuccessfully() throws IOException { // Arrange // First, successfully create an LsaPolicyHandle instance doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = 0; return null;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java
*/ <T> T process(T object); /** * Process a model object using the first available processor implementation. * * <p>This method discovers processor implementations via ServiceLoader and * uses the first one found. If no implementations are available, the object * is returned unchanged. The processor is cached for performance.</p> *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 4.3K bytes - Viewed (0)