Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2141 - 2150 of 2,585 for Get (0.01 sec)

  1. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #4
        }
        stopwatch.sleepMillis(500); // #5: to repay for the last acquire
        stopwatch.sleepMillis(2000); // #6: didn't get cold! It would take another 2 seconds to go cold
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. cmd/metacache-stream.go

    	closer  func()
    	creator func() error
    }
    
    // newMetacacheReader creates a new cache reader.
    // Nothing will be read from the stream yet.
    func newMetacacheReader(r io.Reader) *metacacheReader {
    	dec := s2DecPool.Get()
    	dec.Reset(r)
    	mr := msgpNewReader(dec)
    	return &metacacheReader{
    		mr: mr,
    		closer: func() {
    			dec.Reset(nil)
    			s2DecPool.Put(dec)
    			readMsgpReaderPoolPut(mr)
    		},
    		creator: func() error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
      auto collective_executor_handle = context->GetCollectiveExecutorHandle();
      collective_executor_handle->get()->StartAbort(status->status);
    }
    
    TF_CAPI_EXPORT extern void TFE_CollectiveOpsCheckPeerHealth(
        TFE_Context* ctx, const char* task, int64_t timeout_in_ms,
        TF_Status* status) {
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

            public String fromFieldNameToPropertyName(String fieldName) {
                return fieldName;
            }
    
            public String fromPropertyNameToGetterName(String propertyName) {
                return "get" + capitalizeName(propertyName);
            }
    
            public String fromPropertyNameToSetterName(String propertyName) {
                return "set" + capitalizeName(propertyName);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/internal/Finalizer.java

        return true;
      }
    
      /** Looks up FinalizableReference.finalizeReferent() method. */
      private @Nullable Method getFinalizeReferentMethod() {
        Class<?> finalizableReferenceClass = finalizableReferenceClassReference.get();
        if (finalizableReferenceClass == null) {
          /*
           * FinalizableReference's class loader was reclaimed. While there's a chance that other
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

          }
    
          Set<E> seen = new HashSet<>();
          List<Entry<E>> order = new ArrayList<>();
          for (E e : gen.order(new ArrayList<E>(map.keySet()))) {
            if (seen.add(e)) {
              order.add(map.get(e));
            }
          }
          return order;
        }
      }
    
      private static final class ReserializedMultisetGenerator<E> implements TestMultisetGenerator<E> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            bufferIndex += 2;
    
            // Read session ID
            header.sessionId = SMBUtil.readInt8(buffer, bufferIndex);
    
            return header;
        }
    
        /**
         * Get the associated data for AEAD encryption (everything except signature)
         *
         * @return byte array containing associated data
         */
        public byte[] getAssociatedData() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. cmd/bitrot.go

    	// Calculate the size of the bitrot file and compare
    	// it with the actual file size.
    	if left != bitrotShardFileSize(partSize, shardSize, algo) {
    		return errFileCorrupt
    	}
    
    	bufp := xioutil.ODirectPoolSmall.Get()
    	defer xioutil.ODirectPoolSmall.Put(bufp)
    
    	for left > 0 {
    		// Read expected hash...
    		h.Reset()
    		n, err := io.ReadFull(r, hashBuf)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/QueryTestBase.java

         */
        protected FessConfig.SimpleImpl createBaseFessConfig() {
            return new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String get(String key) {
                    // Override to return empty string instead of null to avoid NullPointerException
                    return "";
                }
    
                @Override
                public String getIndexFieldTitle() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        private val PREVAILING_RULE = listOf("*")
    
        private const val EXCEPTION_MARKER = '!'
    
        private var instance = PublicSuffixDatabase(PublicSuffixList.Default)
    
        fun get(): PublicSuffixDatabase = instance
    
        private fun ByteString.binarySearch(
          labels: Array<ByteString>,
          labelIndex: Int,
        ): String? {
          var low = 0
          var high = size
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top