Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 2,237 for setS (0.04 sec)

  1. cmd/endpoint.go

    			return err
    		}
    	}
    	return nil
    }
    
    // SetPoolIndex sets a specific pool number to this node
    func (endpoint *Endpoint) SetPoolIndex(i int) {
    	endpoint.PoolIdx = i
    }
    
    // SetSetIndex sets a specific set number to this node
    func (endpoint *Endpoint) SetSetIndex(i int) {
    	endpoint.SetIdx = i
    }
    
    // SetDiskIndex sets a specific disk number to this node
    func (endpoint *Endpoint) SetDiskIndex(i int) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  2. cmd/net.go

    	return ipList
    }
    
    func mustGetLocalLoopbacks() (ipList set.StringSet) {
    	ipList = set.NewStringSet()
    	for _, ip := range mustGetLocalIPs() {
    		if ip != nil && ip.IsLoopback() {
    			ipList.Add(ip.String())
    		}
    	}
    	return
    }
    
    // mustGetLocalIP4 returns IPv4 addresses of localhost.  It panics on error.
    func mustGetLocalIP4() (ipList set.StringSet) {
    	ipList = set.NewStringSet()
    	for _, ip := range mustGetLocalIPs() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/authentication/v1/generated.proto

      // compatible with both the TokenReview and token. An identifier is any
      // identifier in the intersection of the TokenReviewSpec audiences and the
      // token's audiences. A client of the TokenReview API that sets the
      // spec.audiences field should validate that a compatible audience identifier
      // is returned in the status.audiences field to ensure that the TokenReview
      // server is audience aware. If a TokenReview returns an empty
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-nested-models.md

    ```Python hl_lines="14"
    {!> ../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    ////
    
    ## Set types
    
    But then we think about it, and realize that tags shouldn't repeat, they would probably be unique strings.
    
    And Python has a special data type for sets of unique items, the `set`.
    
    Then we can declare `tags` as a set of strings:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="12"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    			req.Header.Set("X-Amz-Copy-Source-If-Unmodified-Since", testCase.copyUnmodifiedHeader)
    		}
    		// Add custom metadata.
    		for k, v := range testCase.metadata {
    			req.Header.Set(k, v)
    		}
    		if testCase.metadataReplace {
    			req.Header.Set("X-Amz-Metadata-Directive", "REPLACE")
    		}
    		if testCase.metadataCopy {
    			req.Header.Set("X-Amz-Metadata-Directive", "COPY")
    		}
    		if testCase.metadataGarbage {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/immediate_execution_context.h

    #if !defined(IS_MOBILE_PLATFORM)
      // Set up a multi-client distributed execution environment. Must be called on
      // all tasks in the cluster.
      // This call internally coordinates with other tasks to initialize the eager
      // context and TF server for multi-client execution.
      virtual absl::Status EnableCollectiveOps(const ServerDef& server_def) = 0;
    
      // Set a distributed manager that helps set up, update, and check liveness
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. internal/bucket/bandwidth/monitor.go

    func (m *Monitor) throttle(opts BucketOptions) *bucketThrottle {
    	m.tlock.RLock()
    	defer m.tlock.RUnlock()
    	return m.bucketsThrottle[opts]
    }
    
    // SetBandwidthLimit sets the bandwidth limit for a bucket
    func (m *Monitor) SetBandwidthLimit(bucket, arn string, limit int64) {
    	m.tlock.Lock()
    	defer m.tlock.Unlock()
    	limitBytes := limit / int64(m.NodeCount)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Interners.java

         * @see Interners#newWeakInterner()
         */
        @GwtIncompatible("java.lang.ref.WeakReference")
        public InternerBuilder weak() {
          this.strong = false;
          return this;
        }
    
        /**
         * Sets the concurrency level that will be used by the to-be-built {@link Interner}.
         *
         * @see MapMaker#concurrencyLevel(int)
         */
        public InternerBuilder concurrencyLevel(int concurrencyLevel) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> set = of("a", "b");
        assertEquals(newHashSet("a", "b"), set);
      }
    
      public void testCreation_threeElements() {
        Set<String> set = of("a", "b", "c");
        assertEquals(newHashSet("a", "b", "c"), set);
      }
    
      public void testCreation_fourElements() {
        Set<String> set = of("a", "b", "c", "d");
        assertEquals(newHashSet("a", "b", "c", "d"), set);
      }
    
      public void testCreation_fiveElements() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        return TreeMultiset.create(asList(elements)).elementSet();
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Lists.newArrayList(Sets.newTreeSet(insertionOrder));
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top