Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1001 - 1010 of 2,219 for check (0.02 seconds)

  1. src/test/java/jcifs/internal/witness/MockWitnessService.java

         * Get the number of active registrations
         *
         * @return the registration count
         */
        public int getRegistrationCount() {
            return registrations.size();
        }
    
        /**
         * Check if a registration exists
         *
         * @param registrationId the registration ID
         * @return true if registration exists
         */
        public boolean hasRegistration(String registrationId) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  2. cmd/xl-storage-format-utils_test.go

    			want := hashDeterministicString(tt.arg)
    			m := tt.arg
    			for range n {
    				if got := hashDeterministicString(m); got != want {
    					t.Errorf("hashDeterministicString() = %v, want %v", got, want)
    				}
    			}
    			// Check casual collisions
    			if m == nil {
    				m = make(map[string]string)
    			}
    			m["12312312"] = ""
    			if got := hashDeterministicString(m); got == want {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                } else {
                    this.createContexts = null;
                }
            }
    
            // Set oplock level
            setRequestedOplockLevel(oplockLevel);
        }
    
        /**
         * Check if this request has lease contexts
         * @return true if lease contexts are present
         */
        public boolean hasLeaseContext() {
            if (this.createContexts != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  4. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    You can use [`bump-pydantic`](https://github.com/pydantic/bump-pydantic) from the same Pydantic team.
    
    This tool will help you to automatically change most of the code that needs to be changed.
    
    After this, you can run the tests and check if everything works. If it does, you are done. 😎
    
    ## Pydantic v1 in v2 { #pydantic-v1-in-v2 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

         */
        public void setContextFlags(final int contextFlags) {
            this.contextFlags = contextFlags;
        }
    
        /**
         * Checks if a specific context flag is set
         * @param flag the context flag to check
         * @return true if the flag is set, false otherwise
         */
        public boolean getContextFlag(final int flag) {
            return (getContextFlags() & flag) == flag;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

         *
         * @return the compression flags
         */
        public int getFlags() {
            return this.flags;
        }
    
        /**
         * Checks if a specific compression algorithm is supported.
         *
         * @param algorithm the algorithm to check
         * @return true if the algorithm is supported
         */
        public boolean supportsAlgorithm(int algorithm) {
            if (this.compressionAlgorithms == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. internal/bucket/lifecycle/rule.go

    	errInvalidRuleDelMarkerExpiration = Errorf("Rule with DelMarkerExpiration cannot have tags based filtering")
    )
    
    // validateID - checks if ID is valid or not.
    func (r Rule) validateID() error {
    	if len(r.ID) > 255 {
    		return errInvalidRuleID
    	}
    	return nil
    }
    
    // validateStatus - checks if status is valid or not.
    func (r Rule) validateStatus() error {
    	// Status can't be empty
    	if len(r.Status) == 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 25 20:12:21 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

          }
        }
    
        // Optimization - use signed division if dividend < 2^63
        if (dividend >= 0) {
          return dividend / divisor;
        }
    
        /*
         * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is
         * guaranteed to be either exact or one less than the correct value. This follows from fact that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  9. cmd/encryption-v1_test.go

    				t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps)
    			}
    		}
    
    		// Skip 1Mib and read 1Mib (in the decrypted object)
    		//
    		// The check below ensures the object is large enough
    		// for the read.
    		if lsum(test.decSizes) >= 2*humanize.MiByte {
    			skipLen, readLen := int64(1)*humanize.MiByte, int64(1)*humanize.MiByte
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            //             <artifactId>yoko-core</artifactId>
            //             <version>${version}</version>
            //         </dependency>
            // ...
            //
            // And the range is not set so we'll check here and set it. jvz.
    
            if (range == null) {
                range = VersionRange.createFromVersion(artifact.getVersion());
            }
    
            DefaultArtifact clone = new DefaultArtifact(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
Back to Top