- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 975 for second (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }), // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1 Arguments.of(-1, 1000L, new byte[] { (byte) 0xFF, (byte) 0xFF, 0x01, 0x00, 0x00, 0x00 })); } /** * When lastWriteTime is zero the encoded unsigned time must be all 1s. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
utils/utils.go
func FileWithLineNum() string { pcs := [13]uintptr{} // the third caller usually from gorm internal len := runtime.Callers(3, pcs[:]) frames := runtime.CallersFrames(pcs[:len]) for i := 0; i < len; i++ { // second return value is "more", not "ok" frame, _ := frames.Next() if (!strings.HasPrefix(frame.File, gormSourceDir) || strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
sneakyThrow(exception); } } /** * Returns a {@link Stream} containing the elements of the first stream, followed by the elements * of the second stream, and so on. * * <p>This is equivalent to {@code Stream.of(streams).flatMap(stream -> stream)}, but the returned * stream may perform better. * * @see Stream#concat(Stream, Stream) */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertEquals(2, bytesWritten, "Should write 2 bytes."); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, dst[0], "The first byte should be the subCommand."); assertEquals((byte) 0x00, dst[1], "The second byte should be 0."); } /** * Tests the writeParametersWireFormat method. */ @Test void testWriteParametersWireFormat() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource); managed.close(); assertTrue(resource.isClosed()); // Second close should not throw assertDoesNotThrow(managed::close); } @Test @DisplayName("Test null resource registration throws exception") void testNullResourceRegistration() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
assertEquals(4, written, "Setup should write 4 bytes"); assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0], "First byte should be subCommand"); assertEquals(0, dst[1], "Second byte should be 0"); assertEquals(0, dst[2], "Third byte should be 0 (no FID)"); assertEquals(0, dst[3], "Fourth byte should be 0 (no FID)"); } @Test public void testReadSetupWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
assertEquals("Second group should be AnotherTestGroup", AnotherTestGroup.class, multiAnnotation.groups()[1]); assertEquals("Should have 2 payloads", 2, multiAnnotation.payload().length); assertEquals("First payload should be TestPayload", TestPayload.class, multiAnnotation.payload()[0]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.2K bytes - Viewed (0) -
cmd/batch-expire.go
func (r BatchJobExpire) Notify(ctx context.Context, body io.Reader) error { if r.NotificationCfg.Endpoint == "" { return nil } ctx, cancel := context.WithTimeout(ctx, 10*time.Second) defer cancel() req, err := http.NewRequestWithContext(ctx, http.MethodPost, r.NotificationCfg.Endpoint, body) if err != nil { return err } if r.NotificationCfg.Token != "" {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Apr 22 11:16:32 UTC 2025 - 23K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
byte[] thirdEncoding = parsed2.toByteArray(); assertArrayEquals(firstEncoding, secondEncoding, "First and second encoding should be identical"); assertArrayEquals(secondEncoding, thirdEncoding, "Second and third encoding should be identical"); // Verify content preservation assertArrayEquals(mechs, parsed2.getMechanisms());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0)