- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 1,647 for Invalid (0.17 seconds)
-
cmd/auth-handler_test.go
} } } // Test all s3 supported auth types. func TestS3SupportedAuthType(t *testing.T) { type testCase struct { authT authType pass bool } // List of all valid and invalid test cases. testCases := []testCase{ // Test 1 - supported s3 type anonymous. { authT: authTypeAnonymous, pass: true, }, // Test 2 - supported s3 type presigned. {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (0) -
tensorflow/c/eager/dlpack.cc
int ndim) { bool valid = true; int64_t expected_stride = 1; for (int i = ndim - 1; i >= 0; --i) { // Empty tensors are always compact regardless of strides. if (shape_arr[i] == 0) return true; // Note that dimensions with size=1 can have any stride. if (shape_arr[i] != 1 && stride_arr[i] != expected_stride) { valid = false; } expected_stride *= shape_arr[i];Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Mar 13 23:41:52 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
assertArrayEquals(new byte[16], info.getFileId()); info.updateFileId(testFileId); assertArrayEquals(testFileId, info.getFileId()); // Test invalid file ID length assertThrows(IllegalArgumentException.class, () -> { info.updateFileId(new byte[8]); }); } @Test public void testReconnectingState() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
// Test with invalid file path (directory that doesn't exist) String invalidPath = "/nonexistent/directory/thread-dump.txt"; try { ThreadDumpUtil.writeThreadDump(invalidPath); // Should not throw exception but log warning } catch (Exception e) { fail("writeThreadDump should handle invalid paths gracefully: " + e.getMessage()); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* minLength} */ public static short[] ensureCapacity(short[] array, int minLength, int padding) { checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); checkArgument(padding >= 0, "Invalid padding: %s", padding); return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
} /** * Creates a CURL request from the provided header string. * * @param header the header string containing HTTP method and path * @return CURL request object or null if header is invalid */ private CurlRequest getCurlRequest(final String header) { if (StringUtil.isBlank(header)) { return null; } final String[] values = header.split(" ");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
problems.add(new ModelProblemCollectorRequest(Severity.WARNING, Version.BASE) .setMessage("Failed to determine JDK activation for profile " + profile.getId() + " due invalid JDK version: '" + version + "'") .setLocation(profile.getLocation("")) .setException(e)); return false; } } else {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 6.6K bytes - Click Count (0) -
cmd/xl-storage-free-version.go
if status, ok := j.MetaSys[ReservedMetadataPrefixLower+TransitionStatus]; ok && bytes.Equal(status, []byte(lifecycle.TransitionComplete)) { vID, err := uuid.Parse(fi.TierFreeVersionID()) if err != nil { panic(fmt.Errorf("Invalid Tier Object delete marker versionId %s %v", fi.TierFreeVersionID(), err)) } freeEntry := xlMetaV2Version{Type: DeleteType, WrittenByVersion: globalVersionUnix} freeEntry.DeleteMarker = &xlMetaV2DeleteMarker{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
return negotiate2(r); } else if (r.getDialectRevision() != Smb2Constants.SMB2_DIALECT_0202) { throw new CIFSException("Server returned invalid dialect verison in multi protocol negotiation"); } final int permits = r.getInitialCredits(); if (permits > 0) { this.credits.release(permits);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
tests/associations_belongs_to_test.go
AssertAssociationCount(t, user2, "Company", 0, "after clear") AssertAssociationCount(t, user2, "Manager", 0, "after clear") // unexist company id unexistCompanyID := company.ID + 9999999 user = User{Name: "invalid-user-with-invalid-belongs-to-foreign-key", CompanyID: &unexistCompanyID} if err := DB.Create(&user).Error; err == nil { tidbSkip(t, "not support the foreign key feature") t.Errorf("should have gotten foreign key violation error")
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 9.3K bytes - Click Count (0)