- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 1,160 for isInvalid (0.06 seconds)
-
android/guava/src/com/google/common/hash/PrimitiveSink.java
* for cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which * is faster, produces the same output across Java releases, and processes every {@code char} in * the input, even if some are invalid. */ @CanIgnoreReturnValue PrimitiveSink putString(CharSequence charSequence, Charset charset);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test getRootCause() method (deprecated). */ @Test void testGetRootCause() { Throwable cause = new IllegalArgumentException("Invalid argument."); DcerpcException exception = new DcerpcException("Error with cause.", cause); assertEquals(cause, exception.getRootCause(), "getRootCause() should return the original cause."); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
cmd/xl-storage-errors.go
package cmd import ( "errors" "os" "runtime" "syscall" ) // No space left on device error func isSysErrNoSpace(err error) bool { return errors.Is(err, syscall.ENOSPC) } // Invalid argument, unsupported flags such as O_DIRECT func isSysErrInvalidArg(err error) bool { return errors.Is(err, syscall.EINVAL) } // Input/output error func isSysErrIO(err error) bool {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Mar 06 16:56:29 GMT 2023 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
if (getUncPath0().length() == 1 || dest.getUncPath0().length() == 1) { throw new SmbException("Invalid operation for workgroups, servers, or shares"); } resolveDfs(null); dest.resolveDfs(null); if (!tree.equals(dest.tree)) { throw new SmbException("Invalid operation for workgroups, servers, or shares"); } if (LogStream.level >= 3) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
assertNotNull(securityDescriptor.getOwnerGroupSid()); } @Test @DisplayName("Test decode throws exception for invalid ACE count") void testDecodeThrowsExceptionForInvalidAceCount() { // Prepare buffer with invalid ACE count (> 4096) prepareSecurityDescriptorBufferWithInvalidAceCount(testBuffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
// Test that invalid threshold is ignored dynamicCircuitBreaker.updateFailureThreshold(-1); assertEquals(7, dynamicCircuitBreaker.getCurrentFailureThreshold(), "Threshold should not change for invalid value"); } finally { dynamicCircuitBreaker.close(); } } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0) -
cmd/object-api-putobject_test.go
inputData []byte inputMeta map[string]string inputSHA256 string inputDataSize int64 // expected error output. expectedMd5 string expectedError error }{ // Cases with invalid bucket name. 0: {bucketName: ".test", objName: "obj", inputData: []byte(""), expectedError: BucketNameInvalid{Bucket: ".test"}},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 25.8K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.cc
if (h == nullptr) { status->status = tensorflow::errors::InvalidArgument("Invalid handle"); return nullptr; } return tensorflow::unwrap(h)->DeviceType(&status->status); } int TFE_TensorHandleDeviceID(TFE_TensorHandle* h, TF_Status* status) { if (h == nullptr) { status->status = tensorflow::errors::InvalidArgument("Invalid handle"); return -1; }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 35.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/ChatIntentTest.java
public void test_fromValue_unknown() { // Defaults to UNCLEAR for unknown values assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("unknown")); assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("invalid")); assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("xyz")); } @Test public void test_valueOf() { assertEquals(ChatIntent.SEARCH, ChatIntent.valueOf("SEARCH"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 01 08:11:18 GMT 2026 - 3.8K bytes - Click Count (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
return } val body = response.body if (!body.isEventStream()) { listener.onFailure( this, IllegalStateException("Invalid content-type: ${body.contentType()}"), response, ) return } // This is a long-lived response. Cancel full-call timeouts. call?.timeout()?.cancel()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 3.2K bytes - Click Count (0)