- Sort Score
- Result 10 results
- Languages All
Results 4431 - 4440 of 5,421 for return (0.03 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
public void testReturnFromReadParameterWordsWireFormatIs8() { // ensure the method returns 8 as claimed byte[] buf = new byte[12]; buf[0] = 0x00; buf[1] = 0x10; // count = 4096 in little-endian (0x1000) int returned = resp.readParameterWordsWireFormat(buf, 0); assertEquals(8, returned, "Method should return 8 bytes processed"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
// Should return at least to the end of the data assertTrue(result >= 158); // (50 + 300 + 8) - 200 assertNotNull(response.getInfo()); assertTrue(response.getInfo() instanceof FileInternalInfo); } @Test @DisplayName("Test multiple calls to getInfo return same instance") void testMultipleGetInfoCalls() throws Exception {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
docs/fr/docs/deployment/docker.md
```Python from typing import Optional from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Optional[str] = None): return {"item_id": item_id, "q": q} ``` * Vous devriez maintenant avoir une structure de répertoire telle que : ``` . ├── app │ └── main.py
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 7.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
override fun contains(element: Protocol?): Boolean { if (element == null) throw NullPointerException() return super.contains(element) } override fun indexOf(element: Protocol?): Int { if (element == null) throw NullPointerException() return super.indexOf(element) } } as List<Protocol> val client = OkHttpClient .Builder()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 13.4K bytes - Viewed (1) -
src/main/java/jcifs/internal/SmbNegotiationRequest.java
* * @author mbechler */ public interface SmbNegotiationRequest { /** * Checks whether SMB message signing is enforced by the client. * * @return whether SMB signing is enforced */ boolean isSigningEnforced();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
clause/from.go
package clause // From from clause type From struct { Tables []Table Joins []Join } // Name from clause name func (from From) Name() string { return "FROM" } // Build build from clause func (from From) Build(builder Builder) { if len(from.Tables) > 0 { for idx, table := range from.Tables { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(table) } } else {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jul 15 02:25:10 UTC 2020 - 630 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
QueryParseException queryParseException = new QueryParseException(null); assertNotNull(queryParseException); assertNull(queryParseException.getCause()); // getMessage() may return null when constructed with null // This is expected behavior for exceptions with null cause } public void test_nestedCause() { // Test with nested exceptions
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
SessionSetupHandler anon = new SessionSetupHandler() { // no methods to implement (marker interface) }; SessionSetupHandler mock = mock(SessionSetupHandler.class); return Stream.of(Arguments.of(anon), Arguments.of(mock)); } @Test @DisplayName("Class is a public interface in expected package") void testPublicInterfaceAndPackage() { // Arrange & Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
cmd/namespace-lock_test.go
// following test. Adding new code before this test or changing its // position will cause the line number to change and the test to FAIL // Tests getSource(). func TestGetSource(t *testing.T) { currentSource := func() string { return getSource(2) } gotSource := currentSource() // Hard coded line number, 34, in the "expectedSource" value expectedSource := "[namespace-lock_test.go:34:TestGetSource()]" if gotSource != expectedSource {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java
throw e; } catch (final Exception e) { if (buf.length() == 0) { throw new ExtractException("Could not extract a content.", e); } } return new ExtractData(buf.toString().trim()); } /** * Sets the maximum content size. * @param maxContentSize The maximum content size to set. */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.5K bytes - Viewed (0)