Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 800 for isInvalid (0.05 sec)

  1. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message but valid cause
            Exception cause = new IllegalArgumentException("Invalid argument");
            DictionaryException exception = new DictionaryException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNotNull(exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. schema/serializer.go

    	case *int64, *int, *uint, *uint64, *int32, *uint32, *int16, *uint16:
    		if rv.IsZero() {
    			return nil, nil
    		}
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	default:
    		err = fmt.Errorf("invalid field type %#v for UnixSecondSerializer, only int, uint supported", v)
    	}
    	return
    }
    
    // GobSerializer gob serializer
    type GobSerializer struct{}
    
    // Scan implements serializer interface
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 20 08:45:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. utils/utils.go

    			results[idx] = v
    		case []byte:
    			results[idx] = string(v)
    		case uint:
    			results[idx] = strconv.FormatUint(uint64(v), 10)
    		default:
    			results[idx] = "nil"
    			vv := reflect.ValueOf(v)
    			if vv.IsValid() && !vv.IsZero() {
    				results[idx] = fmt.Sprint(reflect.Indirect(vv).Interface())
    			}
    		}
    	}
    
    	return strings.Join(results, "_")
    }
    
    func Contains(elems []string, elem string) bool {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                 */
                if (this.fileLocator.getShare() == null || dest.getLocator().getShare() == null) {
                    throw new SmbException("Invalid operation for workgroups or servers");
                }
    
                /*
                 * It is invalid for the source path to be a child of the destination
                 * path or visa versa.
                 */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  5. cmd/signature-v4_test.go

    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			region:   globalMinioDefaultRegion,
    			expected: ErrInvalidQueryParams,
    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":     signV4Algorithm,
    				"X-Amz-Date":          now.Format(iso8601Format),
    				"X-Amz-Expires":       "60",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/UniAddress.java

                        }
                        break;
                    case RESOLVER_WINS:
                        if (hostname == NbtAddress.MASTER_BROWSER_NAME || hostname.length() > 15) {
                            // invalid netbios name
                            continue;
                        }
                        if (possibleNTDomainOrWorkgroup) {
                            addr = lookupServerOrWorkgroup(hostname, NbtAddress.getWINSAddress());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, trans2QueryFSInfo.getSubCommand());
        }
    
        @Test
        @DisplayName("Test constructor with invalid information level")
        void testConstructorWithInvalidInformationLevel() {
            // The exception is thrown during writeParametersWireFormat when mapInformationLevel is called
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. cmd/storagemetric_string.go

    // Code generated by "stringer -type=storageMetric -trimprefix=storageMetric xl-storage-disk-id-check.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[storageMetricMakeVolBulk-0]
    	_ = x[storageMetricMakeVol-1]
    	_ = x[storageMetricListVols-2]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types_test.go

    				t.Fatalf("Expected %v but got %v", test.want, got)
    			}
    		})
    	}
    }
    
    func TestBatchJobSizeValidate(t *testing.T) {
    	errInvalidBatchJobSizeFilter := BatchJobYamlErr{
    		msg: "invalid batch-job size filter",
    	}
    
    	tests := []struct {
    		sizeFilter BatchJobSizeFilter
    		err        error
    	}{
    		{
    			// Unspecified size filter is a valid filter
    			sizeFilter: BatchJobSizeFilter{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 08 23:22:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. cmd/admin-handlers_test.go

    	}
    	qParamsArr := []url.Values{
    		// Invalid cases
    		mkParams("", true, true),
    		mkParams("111", true, true),
    		mkParams("111", true, false),
    		mkParams("111", false, true),
    		// Valid cases follow
    		mkParams("", true, false),
    		mkParams("", false, true),
    		mkParams("", false, false),
    		mkParams("111", false, false),
    	}
    	varsArr := []map[string]string{
    		// Invalid cases
    		{mgmtPrefix: "objprefix"},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top