- Sort Score
- Num 10 results
- Language All
Results 891 - 900 of 1,121 for verify (0.08 seconds)
-
internal/hash/reader.go
r.sha256.Write(p[:n]) } if r.contentHasher != nil { r.contentHasher.Write(p[:n]) } else if r.ServerSideHasher != nil { r.ServerSideHasher.Write(p[:n]) } if err == io.EOF { // Verify content SHA256, if set. if r.expectedMin > 0 { if r.bytesRead < r.expectedMin { return 0, SizeTooSmall{Want: r.expectedMin, Got: r.bytesRead} } } if r.expectedMax > 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0) -
tests/update_test.go
DB.Create(&user) // Update a single field of the user and verify that the changed address is not stored. newAge := uint(100) user.Account.Number = "new_account_number" db := DB.Model(&user).UpdateColumns(User{Age: newAge}) if db.RowsAffected != 1 { t.Errorf("Expected RowsAffected=1 but instead RowsAffected=%v", db.RowsAffected) } // Verify that Age now=`newAge`. result := &User{} result.ID = user.ID
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
assertEquals(testData, new String(decompressed)); // For small strings, gzip overhead might make compressed data larger // So we just verify that compression/decompression works correctly assertNotNull(compressed); assertTrue(compressed.length > 0); } // Helper methods for creating mock objectsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* the completed inputs. And we're still processing at least one input, the one that * triggered handleException.) * * TODO(cpovirk): Think about whether we could/should use Verify to check the return value of * addCausalChain. */ boolean unused = addCausalChain(seen, requireNonNull(tryInternalFastPathGetFailure())); } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
cmd/bucket-policy-handlers_test.go
if err != nil { t.Fatalf("Test %d: %s: Failed parsing response body: <ERROR> %v", i+1, instanceType, err) } if recV4.Code != testCase.expectedRespStatus { // Verify whether the bucket policy fetched is same as the one inserted. var expectedPolicy *policy.BucketPolicy expectedPolicy, err = policy.ParseBucketPolicyConfig(strings.NewReader(expectedBucketPolicyStr), testCase.bucketName)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
assertNotNull(result); assertNotNull(thumbnailJob.sessionId); assertTrue(result.contains("Session Id: " + thumbnailJob.sessionId)); // Exception handling may vary, just verify result is not null } // Test executeThumbnailGenerator with process failure @Test public void test_executeThumbnailGenerator_processFailure() { thumbnailJob.numOfThreads(2);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19K bytes - Click Count (0) -
cmd/bucket-handlers.go
if successRedirect != "" { redirectURL, err = url.Parse(successRedirect) if err != nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMalformedPOSTRequest), r.URL) return } } // Verify policy signature. cred, errCode := doesPolicySignatureMatch(formValues) if errCode != ErrNone { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL) return }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 63.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
} catch (JobProcessingException e) { assertEquals("Python Process terminated.", e.getMessage()); assertNotNull(e.getCause()); // Check cause message if available, otherwise just verify cause exists if (e.getCause().getMessage() != null) { assertTrue(e.getCause().getMessage().contains("Process start failed")); } } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.2K bytes - Click Count (0) -
internal/s3select/sql/funceval.go
case int64: return fmt.Sprintf("%v", x), nil case string: return x, nil case []byte: return string(x), nil case bool: return fmt.Sprintf("%v", x), nil case nil: // FIXME: verify this case is correct return "NULL", nil } // This does not happen return "", errCastFailure(fmt.Sprintf("cannot cast %v to string type", v.GetTypeString())) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
4 + 4 + // AvTargetName header + data 4; // EOL assertEquals(expectedLength, encoded.length, "Encoded length should match expected"); // Verify EOL at the end int eolPos = encoded.length - 4; assertEquals(AvPair.MsvAvEOL, SMBUtil.readInt2(encoded, eolPos), "Should end with EOL");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0)