Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 386 for Patches (0.12 sec)

  1. internal/grid/handlers.go

    func NewRemoteErrString(msg string) *RemoteErr {
    	r := RemoteErr(msg)
    	return &r
    }
    
    func (r RemoteErr) Error() string {
    	return string(r)
    }
    
    // Is returns if the string representation matches.
    func (r *RemoteErr) Is(other error) bool {
    	if r == nil || other == nil {
    		return r == other
    	}
    	var o RemoteErr
    	if errors.As(other, &o) {
    		return r == &o
    	}
    	return false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    // - Range over all the available buckets
    // - Check if a bucket has an entry in etcd backend
    // -- If no, make an entry
    // -- If yes, check if the entry matches local IP check if we
    //
    //	need to update the entry then proceed to update
    //
    // -- If yes, check if the IP of entry matches local IP.
    //
    //	This means entry is for this instance.
    //
    // -- If IP of the entry doesn't match, this means entry is
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/TypeResolver.java

       *
       * <p>While resolving a type variable from a {@code var -> type} map, we don't care whether the
       * type variable's bound has been partially resolved. As long as the type variable "identity"
       * matches.
       *
       * <p>On the other hand, if for example we are resolving {@code List<A extends B>} to {@code
       * List<A extends String>}, we need to compare that {@code <A extends B>} is unequal to {@code <A
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  4. fastapi/routing.py

                    dependency_overrides_provider=dependency_overrides_provider,
                    embed_body_fields=self._embed_body_fields,
                )
            )
    
        def matches(self, scope: Scope) -> Tuple[Match, Scope]:
            match, child_scope = super().matches(scope)
            if match != Match.NONE:
                child_scope["route"] = self
            return match, child_scope
    
    
    class APIRoute(routing.Route):
        def __init__(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    func (fi FileInfo) ReadQuorum(dquorum int) int {
    	if fi.Deleted {
    		return dquorum
    	}
    	return fi.Erasure.DataBlocks
    }
    
    // Equals checks if fi(FileInfo) matches ofi(FileInfo)
    func (fi FileInfo) Equals(ofi FileInfo) (ok bool) {
    	typ1, ok1 := crypto.IsEncrypted(fi.Metadata)
    	typ2, ok2 := crypto.IsEncrypted(ofi.Metadata)
    	if ok1 != ok2 {
    		return false
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
       * treated like enter(MAX, MILLIS) and tryEnter() is treated like enter(0, MILLIS).
       */
      private static void addTests(
          TestSuite suite,
          Method method,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. cmd/kms-handlers_test.go

    			path:   kmsKeyListPath,
    			query:  map[string]string{"pattern": "*"},
    			asRoot: false,
    
    			// It looks like this should allow listing any key that isn't "default-test-key", however
    			// the policy engine matches all Deny statements first, without regard to Resources (for KMS).
    			// This is for backwards compatibility where historically KMS statements ignored Resources.
    			policy: `{
    						"Effect": "Allow",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                // parse the line
                String[] property = parseProperty(line);
                boolean typed = false;
                if (maybeTyped && property[1].length() >= 2) {
                    typed = property[1].matches(
                            "\\s*[TILFDXSCBilfdxscb]?(\\[[\\S\\s]*\\]|\\([\\S\\s]*\\)|\\{[\\S\\s]*\\}|\"[\\S\\s]*\")\\s*");
                }
                if (this.typed == null) {
                    this.typed = typed;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  9. cmd/metacache-entries_test.go

    			r:            metadataResolutionParams{dirQuorum: 2, objQuorum: 2, strict: false},
    			wantSelected: &inputSerialized[6],
    			wantOk:       true,
    		},
    		{
    			// When ID is zero, do not allow non-strict matches to reach quorum.
    			name:         "zeroid-belowq",
    			m:            metaCacheEntries{inputSerialized[5], inputSerialized[5], inputSerialized[6], inputSerialized[6]},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          }
          statsCounter.recordEviction();
          return removal;
        }
      }
    
      /**
       * Any updates to LocalCache.Strength used in CacheBuilder need to be matched in this class for
       * compilation purposes.
       */
      enum Strength {
        /*
         * TODO(kevinb): If we strongly reference the value and aren't loading, we needn't wrap the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top