- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 4,975 for same (0.02 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
SmbComNTCreateAndX req = createRequest(0, 0); String str = req.toString(); assertTrue(str.startsWith("SmbComNTCreateAndX["), "toString should start with class name"); assertTrue(str.contains("name=test.txt"), "The file name should appear"); // securityFlags are set to 0x03 – verify hex sequence assertTrue(str.contains("securityFlags=0x03"), "securityFlags should be present"); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
final String encoded = Base64Util.encode(singleByte); assertNotNull("Encoded result should not be null", encoded); final byte[] decoded = Base64Util.decode(encoded); assertEquals("Decoded should have same length", 1, decoded.length); assertEquals("Decoded byte should match", singleByte[0], decoded[0]); } /** * Test encode with two bytes * * @throws Exception */
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
fastapi/applications.py
def __init__(self, name: str): self.name = name app = FastAPI() @app.exception_handler(UnicornException) async def unicorn_exception_handler(request: Request, exc: UnicornException): return JSONResponse( status_code=418, content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."},
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 176.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
val sentHeaders = headerEntries("name", "value") val headerBytes = literalHeaders(sentHeaders) writeMedium(frame, headerBytes.size.toInt()) frame.writeByte(Http2.TYPE_HEADERS) frame.writeByte(FLAG_END_HEADERS or FLAG_END_STREAM) frame.writeInt(expectedStreamId and 0x7fffffff) frame.writeAll(headerBytes) // Check writer sends the same bytes.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 28.1K bytes - Viewed (0) -
cmd/os-readdir_test.go
entries := []string{} for i := range 10 { name := fmt.Sprintf("file-%d", i) if err := os.WriteFile(filepath.Join(dir, name), []byte{}, os.ModePerm); err != nil { // For cleanup, its required to add these entries into test results. testResults = append(testResults, result{dir, entries}) t.Fatalf("Unable to create file, %s", err) } entries = append(entries, name) } // Keep entries sorted for easier comparison.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
} @Test @DisplayName("Should produce consistent keys for same input") void testDeriveKeys_Consistency() { // Given int dialect = Smb2Constants.SMB2_DIALECT_0311; // When - derive same key twice byte[] signingKey1 = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* @return local host address */ NetbiosAddress getLocalHost(); /** * Gets the local host NetBIOS name. * * @return the local host name */ NetbiosName getLocalName(); /** * Gets the unknown NetBIOS name instance. * * @return the unknown name */ NetbiosName getUnknownName(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
public interface ExecutionEvent { /** * The possible types of execution events. * * Note: do not modify this enum, or, make sure that this enum and * {@link org.apache.maven.api.EventType} have same elements in same order. */ enum Type { ProjectDiscoveryStarted, SessionStarted, SessionEnded, ProjectSkipped, ProjectStarted, ProjectSucceeded,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 29 20:53:26 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
===================== OkHttp 4.x upgrades our implementation language from Java to Kotlin and keeps everything else the same. We’ve chosen Kotlin because it gives us powerful new capabilities while integrating closely with Java. We spent a lot of time and energy on retaining strict compatibility with OkHttp 3.x. We’re even keeping the package name the same: `okhttp3`! There are three kinds of compatibility we’re tracking:
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
} @Test @DisplayName("getSmbTree returns same instance for same share/service") void testGetSmbTreeReuses() { SmbSessionImpl session = newSession(); SmbTreeImpl t1 = session.getSmbTree("IPC$", null); SmbTreeImpl t2 = session.getSmbTree("ipc$", null); // case-insensitive match assertSame(t1, t2, "Expected same tree instance to be reused"); } @ParameterizedTestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)