- Sort Score
- Result 10 results
- Languages All
Results 1281 - 1290 of 2,806 for Then (0.02 sec)
-
tests/create_test.go
t.Fatalf("errors happened when query: %v", err) } else { CheckUser(t, newUser, u1) } type user struct { ID int `gorm:"primaryKey;->:false"` Name string Age int } var u2 user if results := DB.Create(&u2); results.Error != nil { t.Fatalf("errors happened when create: %v", results.Error) } else if results.RowsAffected != 1 {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
assertTrue(resp.isLoggedInAsGuest(), "Guest/anonymous should be detected"); // prepare should propagate session id when received CIFSContext mockCtx = mock(CIFSContext.class); when(mockCtx.getConfig()).thenReturn(mock(Configuration.class)); Smb2SessionSetupRequest nextReq = new Smb2SessionSetupRequest(mockCtx, 0, 0, 0L, null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
SECURITY.md
some form of isolation when dealing with untrusted data. As a result, this document also outlines what issues we consider as TensorFlow security vulnerabilities. We recognize issues as vulnerabilities only when they occur in scenarios that we outline as safe; issues that have a security impact only when TensorFlow is used
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Wed Oct 16 16:10:43 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
*/ private var expires: Date? = null /** * Extension header set by OkHttp specifying the timestamp when the cached HTTP request was * first initiated. */ private var sentRequestMillis = 0L /** * Extension header set by OkHttp specifying the timestamp when the cached HTTP response was * first received. */ private var receivedResponseMillis = 0LRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
cmd/object-api-datatypes.go
Name string // Date and time when the bucket was created. Created time.Time Deleted time.Time // Bucket features enabled Versioning, ObjectLocking bool } // ObjectInfo - represents object metadata. type ObjectInfo struct { // Name of the bucket. Bucket string // Name of the object. Name string // Date and time when the object was last modified. ModTime time.TimeRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
@BeforeEach void setUp() throws Exception { when(context.getConfig()).thenReturn(config); when(config.isSigningEnforced()).thenReturn(false); when(config.getSessionTimeout()).thenReturn(30_000); when(config.getResponseTimeout()).thenReturn(5_000); when(address.getHostAddress()).thenReturn("127.0.0.1"); when(address.getHostName()).thenReturn("testhost");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
docs/debugging/inspect/main.go
if err != nil { fmt.Printf("error when create private.pem: %s n", err) os.Exit(1) } err = pem.Encode(privatePem, privateKeyBlock) if err != nil { fmt.Printf("error when encode private pem: %s n", err) os.Exit(1) } // dump public key to file publicKeyBytes := x509.MarshalPKCS1PublicKey(&privatekey.PublicKey) if err != nil { fmt.Printf("error when dumping publickey: %s n", err) os.Exit(1)Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Feb 17 17:09:42 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
@DisplayName("Should verify signature when digest is present and successful") void testVerifySignatureSuccess() throws Exception { byte[] buffer = new byte[1024]; echoResponse.setDigest(mockDigest); setStatus(echoResponse, NtStatus.NT_STATUS_SUCCESS); when(mockConfig.isRequireSecureNegotiate()).thenReturn(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
SmbFileFilter filter = f -> f.length() > 0; // negative size -> reject when(smbFile.length()).thenReturn(-1L); assertFalse(filter.accept(smbFile), "Negative size should be rejected"); verify(smbFile, times(1)).length(); // zero size -> reject reset(smbFile); when(smbFile.length()).thenReturn(0L); assertFalse(filter.accept(smbFile), "Zero size should be rejected");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
// Assert assertEquals(2283323396289696982L, value, "serialVersionUID should be stable"); } // Behavior check: toString contains class name and message when present @Test @DisplayName("toString contains class name and message when provided") void toString_containsClassName_and_Message() { // Arrange String msg = "signature invalid";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0)