- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 809 for zeros (0.05 sec)
-
tests/soft_delete_test.go
} if err := DB.Delete(&user).Error; err != nil { t.Fatalf("No error should happen when soft delete user, but got %v", err) } if sql.NullTime(user.DeletedAt).Time.IsZero() { t.Fatalf("user's deleted at is zero") } sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String() if !regexp.MustCompile(`UPDATE .users. SET .deleted_at.=.* WHERE .users.\..id. = .* AND .users.\..deleted_at. IS NULL`).MatchString(sql) {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Feb 01 06:40:55 UTC 2023 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
AvTimestamp avTimestamp = new AvTimestamp(rawBytes); assertEquals(expectedTimestamp, avTimestamp.getTimestamp()); } /** * Test getTimestamp method with zero timestamp. */ @Test public void testGetTimestampZero() { long expectedTimestamp = 0L; byte[] rawBytes = new byte[8]; SMBUtil.writeInt8(expectedTimestamp, rawBytes, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertEquals(0x03, context.getHashAlgos()[2]); assertArrayEquals(salt, context.getSalt()); } @Test @DisplayName("Should decode zero hash algorithms and zero salt") void testDecodeZeroHashAlgosAndSalt() throws SMBProtocolDecodingException { SMBUtil.writeInt2(0, buffer, 0); SMBUtil.writeInt2(0, buffer, 2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
NegTokenInit parsed = new NegTokenInit(bytes); assertNull(parsed.getMechanisms(), "Mechanisms should be null when absent"); assertEquals(0, parsed.getContextFlags(), "Flags should be zero when absent"); assertNull(parsed.getMechanismToken(), "Mechanism token should be null when absent"); assertNull(parsed.getMechanismListMIC(), "MIC should be null when absent"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/Subscribe.java
/** * Marks a method as an event subscriber. * * <p>The type of event will be indicated by the method's first (and only) parameter, which cannot * be primitive. If this annotation is applied to methods with zero parameters, or more than one * parameter, the object containing the method will not be able to register for event delivery from * the {@link EventBus}. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 15:46:17 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
// Assert assertEquals(expectedSize, size); verify(negotiationResponse).getTransactionBufferSize(); } @Test @DisplayName("Test getTransactionBufferSize returns zero") void testGetTransactionBufferSizeZero() { // Arrange when(negotiationResponse.getTransactionBufferSize()).thenReturn(0); // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
scan.go
isArrayKind = reflectValue.Kind() == reflect.Array ) if !update || reflectValue.Len() == 0 { update = false if isArrayKind { db.Statement.ReflectValue.Set(reflect.Zero(reflectValue.Type())) } else { // if the slice cap is externally initialized, the externally initialized slice is directly used here if reflectValue.Cap() == 0 {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
internal/grid/msg.go
// //msgp:tuple message type message struct { MuxID uint64 // Mux to receive message if any. Seq uint32 // Sequence number. DeadlineMS uint32 // If non-zero, milliseconds until deadline (max 1193h2m47.295s, ~49 days) Handler HandlerID // ID of handler if invoking a remote handler. Op Op // Operation. Other fields change based on this value.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
void testGetResultSuccess() { message.result = 0; assertNull(message.getResult()); } @Test @DisplayName("getResult should return DcerpcException for non-zero result") void testGetResultError() { message.result = 123; // Example error code DcerpcException exception = message.getResult(); assertNotNull(exception);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe"); byte[] dst = new byte[10]; // writeSetupWireFormat writes 4 bytes: // - subCommand byte // - 3 zero bytes (padding and no FID) int written = pipe.writeSetupWireFormat(dst, 0); assertEquals(4, written, "Setup should write 4 bytes");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0)