- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 178 for 0102 (0.03 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt
} @Test @Throws(Exception::class) fun parseNonStandardStrings() { // RFC 822, updated by RFC 1123 with any TZ assertThat("Thu, 01 Jan 1970 00:00:00 GMT-01:00".toHttpDateOrNull()!!.time).isEqualTo(3600000L) assertThat("Thu, 01 Jan 1970 00:00:00 PST".toHttpDateOrNull()!!.time).isEqualTo(28800000L) // Ignore trailing junk
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
SMBUtil.writeInt2(0, buffer, 4); // Act & Assert assertEquals(0, response.readSetupWireFormat(buffer, 0, 100)); assertEquals(6, response.readParametersWireFormat(buffer, 0, 100)); assertEquals(0, response.readDataWireFormat(buffer, 0, 100)); } @Test @DisplayName("Methods should handle empty buffer") void testMethodsWithEmptyBuffer() { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.cc
} if (value_string.length() > 100) { // The default NumPy-style output can be distractingly long in error // messages. value_string = absl::StrCat(value_string.substr(0, 100), " [...]"); } absl::Status s; const char* device_name = DeviceName(&s); if (!s.ok()) { device_name = "<error fetching device name>"; }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:24:07 GMT 2024 - 2.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java
// Test basic patterns that should be valid String[] potentiallyValidCrons = { "0 0 * * * ?", // Every hour "0 */15 * * * ?", // Every 15 minutes "0 0 12 * * ?", // Daily at noon "0 15 10 ? * MON-FRI" // Weekdays at 10:15 }; // Test each pattern and see what actually works for (String cron : potentiallyValidCrons) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
byte[] buffer = new byte[100]; // Define behavior when(mockFileInfo.decode(buffer, 0, 100)).thenReturn(8); // Test decode int decoded = mockFileInfo.decode(buffer, 0, 100); assertEquals(8, decoded); // Verify interaction verify(mockFileInfo).decode(buffer, 0, 100); } /** * Test FileInformation as Encodable */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} @Test @DisplayName("Test verify signature with error code") void testVerifySignatureWithErrorCode() { testBlock.setDigest(mockDigest); testBlock.setErrorCode(1); byte[] buffer = new byte[100]; assertTrue(testBlock.verifySignature(buffer, 0, 100));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
int flags = NegTokenInit.DELEGATION | NegTokenInit.MUTUAL_AUTHENTICATION | NegTokenInit.INTEGRITY; byte[] mechToken = new byte[] { 0x01, 0x02, 0x03 }; byte[] mic = new byte[] { (byte) 0xFE, 0x55 }; NegTokenInit init = new NegTokenInit(mechs, flags, mechToken, mic); byte[] bytes = init.toByteArray();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java
/** * Read caching lease (R) */ public static final int SMB2_LEASE_READ_CACHING = 0x01; /** * Handle caching lease (H) */ public static final int SMB2_LEASE_HANDLE_CACHING = 0x02; /** * Write caching lease (W) */ public static final int SMB2_LEASE_WRITE_CACHING = 0x04; /** * Read and Handle caching (RH) */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
// Arrange byte[] buffer = new byte[100]; // Act & Assert assertEquals(0, response.readSetupWireFormat(buffer, 0, 100)); assertEquals(0, response.readParametersWireFormat(buffer, 0, 100)); assertEquals(0, response.readDataWireFormat(buffer, 0, 100)); } @Test @DisplayName("Methods should handle null buffer without validation") void testMethodsWithNullBuffer() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
byte[] testMac = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 }; System.arraycopy(testMac, 0, src, srcIndex + 55, 6); // Statistics (6 bytes) byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 }; System.arraycopy(stats, 0, src, srcIndex + 61, 6); int result = response.readRDataWireFormat(src, srcIndex); assertEquals(67, result); // Verify parsed data
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0)