Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,494 for case1 (0.03 sec)

  1. cmd/net.go

    	//	":9000"
    	//	"localhost:9000"
    	//	"localhost" <- in this case, we check for scheme
    
    	host, port, err := net.SplitHostPort(addr)
    	if err != nil {
    		if !strings.Contains(err.Error(), "missing port in address") {
    			return "", "", err
    		}
    
    		host = addr
    
    		switch scheme {
    		case "https":
    			port = "443"
    		case "http":
    			port = "80"
    		default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    			extractedSignedHeaders.Set(header, "100-continue")
    		case "host":
    			// Go http server removes "host" from Request.Header
    			extractedSignedHeaders.Set(header, r.Host)
    		case "transfer-encoding":
    			// Go http server removes "host" from Request.Header
    			extractedSignedHeaders[http.CanonicalHeaderKey(header)] = r.TransferEncoding
    		case "content-length":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. cmd/handler-api.go

    		t.staleUploadsCleanupInterval = cfg.StaleUploadsCleanupInterval
    
    		// signal that cleanup interval has changed
    		select {
    		case staleUploadsCleanupIntervalChangedCh <- struct{}{}:
    		default: // in case the channel is blocked...
    		}
    	}
    }
    
    func (t *apiConfig) odirectEnabled() bool {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return t.enableODirect
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. cmd/site-replication-metrics.go

    	srs.Secure = st.Secure
    	switch {
    	case st.Completed:
    		srs.ReplicatedSize += st.TransferSize
    		srs.ReplicatedCount++
    		if st.TransferDuration > 0 {
    			srs.Latency.update(st.TransferSize, st.TransferDuration)
    			srs.updateXferRate(st.TransferSize, st.TransferDuration)
    		}
    	case st.Failed:
    		srs.Failed.addsize(st.TransferSize, st.Err)
    	case st.Pending:
    	}
    	sr.M[dID] = srs
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers-config-kv.go

    			switch hkv.Key {
    			case config.EtcdSubSys:
    				off = !etcd.Enabled(item.Config)
    			case config.StorageClassSubSys:
    				off = !storageclass.Enabled(item.Config)
    			case config.PolicyPluginSubSys:
    				off = !polplugin.Enabled(item.Config)
    			case config.IdentityOpenIDSubSys:
    				off = !openid.Enabled(item.Config)
    			case config.IdentityLDAPSubSys:
    				off = !xldap.Enabled(item.Config)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. cmd/bitrot.go

    func (a BitrotAlgorithm) New() hash.Hash {
    	switch a {
    	case SHA256:
    		return sha256.New()
    	case BLAKE2b512:
    		b2, _ := blake2b.New512(nil) // New512 never returns an error if the key is nil
    		return b2
    	case HighwayHash256:
    		hh, _ := highwayhash.New(magicHighwayHash256Key) // New will never return error since key is 256 bit
    		return hh
    	case HighwayHash256S:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ElementOrder.java

      <K extends T, V> Map<K, V> createMap(int expectedSize) {
        switch (type) {
          case UNORDERED:
            return Maps.newHashMapWithExpectedSize(expectedSize);
          case INSERTION:
          case STABLE:
            return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
          case SORTED:
            return Maps.newTreeMap(comparator());
        }
        throw new AssertionError();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/ElementOrder.java

      <K extends T, V> Map<K, V> createMap(int expectedSize) {
        switch (type) {
          case UNORDERED:
            return Maps.newHashMapWithExpectedSize(expectedSize);
          case INSERTION:
          case STABLE:
            return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
          case SORTED:
            return Maps.newTreeMap(comparator());
        }
        throw new AssertionError();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResourceLocator.java

    public interface SmbResourceLocator {
    
        /**
         * Returns the last component of the target URL. This will
         * effectively be the name of the file or directory represented by this
         * <code>SmbFile</code> or in the case of URLs that only specify a server
         * or workgroup, the server or workgroup will be returned. The name of
         * the root URL <code>smb://</code> is also <code>smb://</code>. If this
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/query-params.md

    {!> ../../docs_src/query_params/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params/tutorial002.py!}
    ```
    
    ////
    
    In this case, the function parameter `q` will be optional, and will be `None` by default.
    
    /// check
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top