- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 148 for validate (0.05 sec)
-
src/main/java/jcifs/util/InputValidator.java
} } /** * Validates a string is not null or empty * * @param value the string to validate * @param fieldName the field name for error reporting * @return the validated string * @throws IllegalArgumentException if string is null or empty */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
cmd/batch-job-common-types.go
var tmp retry err := val.Decode(&tmp) if err != nil { return err } *r = BatchJobRetry(tmp) r.line, r.col = val.Line, val.Column return nil } // Validate validates input replicate retries. func (r BatchJobRetry) Validate() error { if r.Attempts < 0 { return BatchJobYamlErr{ line: r.line, col: r.col, msg: "Invalid arguments specified", } } if r.Delay < 0 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
private final AtomicLong bufferOverflowsPrevented = new AtomicLong(0); private final AtomicLong integerOverflowsPrevented = new AtomicLong(0); /** * Validate SMB response buffer bounds * * @param buffer the buffer to validate * @param expectedSize expected minimum size * @param maxSize maximum allowed size * @throws SmbException if validation fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
this.strictMode = strictMode; this.blacklistedPaths = new HashSet<>(); this.whitelistedPaths = new HashSet<>(); } /** * Validate and normalize a path * * @param path the path to validate * @return normalized safe path * @throws SmbException if path is invalid or dangerous */ public String validatePath(String path) throws SmbException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
cmd/batch-handlers.go
} return madmin.BatchJobType("unknown") } // Validate validates the current job, used by 'save()' before // persisting the job request func (j BatchJobRequest) Validate(ctx context.Context, o ObjectLayer) error { switch { case j.Replicate != nil: return j.Replicate.Validate(ctx, j, o) case j.KeyRotate != nil: return j.KeyRotate.Validate(ctx, j, o) case j.Expire != nil:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.5K bytes - Viewed (0) -
cmd/object_api_suite_test.go
n = copy(p, r.data) r.eof = true return n, nil } // Wrapper for calling testMakeBucket for both Erasure and FS. func TestMakeBucket(t *testing.T) { ExecObjectLayerTest(t, testMakeBucket) } // Tests validate bucket creation. func testMakeBucket(obj ObjectLayer, instanceType string, t TestErrHandler) { err := obj.MakeBucket(context.Background(), "bucket-unknown", MakeBucketOptions{}) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0) -
cmd/batch-rotate.go
} if err := r.Encryption.Validate(); err != nil { return err } for _, tag := range r.Flags.Filter.Tags { if err := tag.Validate(); err != nil { return err } } for _, meta := range r.Flags.Filter.Metadata { if err := meta.Validate(); err != nil { return err } } return r.Flags.Retry.Validate()Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
return 8; // Minimum size: count + padding + flags } return 8 + (this.compressionAlgorithms.length * 2); } /** * Validates if the compression algorithm is known. * * @param algorithm the algorithm to validate * @return true if the algorithm is known */ private boolean isValidCompressionAlgorithm(int algorithm) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
.github/workflows/cffconvert.yml
name: cffconvert on: push: paths: - CITATION.cff permissions: contents: read jobs: validate: if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks name: "validate" runs-on: ubuntu-latest steps: - name: Check out a copy of the repository uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Sep 01 15:40:11 UTC 2025 - 1.3K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
} // List all of all test cases to validate various cases of reduce errors. testCases := []struct { errs []error ignoredErrs []error err error }{ // Validate if have reduced properly. {[]error{ errDiskNotFound, errDiskNotFound, errDiskFull, }, []error{}, errErasureReadQuorum}, // Validate if have no consensus. {[]error{ errDiskFull,Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.3K bytes - Viewed (0)