Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 588 for Klocko (0.21 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

        //     in all.
        // (3) "Successive". We can consider that we are exchanging a block of size d (a[0..d-1]) with a
        //     block of size n-d (a[d..n-1]), where in general these blocks have different sizes. If we
        //     imagine a line separating the first block from the second, we can proceed by exchanging
        //     the smaller of these blocks with the far end of the other one. That leaves us with a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                     uint64_t block_size, size_t max_bytes, uint64_t max_staleness,
                     uint64_t stat_cache_max_age, size_t stat_cache_max_entries)
        : gcs_client(gcs_client),
          compose(compose),
          block_cache_lock(),
          block_size(block_size) {
      file_block_cache = std::make_unique<RamFileBlockCache>(
          block_size, max_bytes, max_staleness,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  3. cmd/tier.go

    	return metrics
    }
    
    func (config *TierConfigMgr) refreshedAt() time.Time {
    	config.RLock()
    	defer config.RUnlock()
    	return config.lastRefreshedAt
    }
    
    // IsTierValid returns true if there exists a remote tier by name tierName,
    // otherwise returns false.
    func (config *TierConfigMgr) IsTierValid(tierName string) bool {
    	config.RLock()
    	defer config.RUnlock()
    	_, valid := config.isTierNameInUse(tierName)
    	return valid
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    	return pathJoin(bucketMetaPrefix, bucket, metacachePrefix, id)
    }
    
    // objectPath returns the object path of the cache.
    func (o *listPathOptions) objectPath(block int) string {
    	return pathJoin(metacachePrefixForID(o.Bucket, o.ID), "block-"+strconv.Itoa(block)+".s2")
    }
    
    func (o *listPathOptions) SetFilter() {
    	switch {
    	case metacacheSharePrefix:
    		return
    	case o.Prefix == o.BaseDir:
    		// No additional prefix
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. cmd/shared-lock.go

    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case <-lkctx.Context().Done():
    				// The context of the lock is canceled, this can happen
    				// if one lock lost quorum due to cluster instability
    				// in that case, try to lock again.
    				break keepLock
    			case ld.lockContext <- lkctx:
    				// Send the lock context to anyone asking for it
    			}
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 13 09:26:38 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      }
    
      /**
       * Inserts the specified element into this priority queue. As the queue is unbounded this method
       * will never block.
       *
       * @param e the element to add
       * @param timeout This parameter is ignored as the method never blocks
       * @param unit This parameter is ignored as the method never blocks
       * @return {@code true}
       * @throws ClassCastException if the specified element cannot be compared with elements currently
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                        absl::optional<int64_t> step_id = absl::nullopt);
      // Block until the previous `StartExecute` operation has executed. Forwards
      // the status from `TFE_Execute` and returns outputs if the status is OK.
      std::vector<TensorHandlePtr> Join(TF_Status* status);
    
      // Block until all Ops finished running on the thread.
      void AsyncWait(TF_Status* status);
    
     private:
      void Run();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  8. cmd/metacache-stream.go

    			buf.Reset()
    			bytebufferpool.Put(buf)
    		}()
    
    		block := newMetacacheWriter(buf, 1<<20)
    		defer block.Close()
    		finishBlock := func() {
    			if err := block.Close(); err != nil {
    				w.streamErr = err
    				return
    			}
    			current.data = buf.Bytes()
    			w.streamErr = nextBlock(&current)
    			// Prepare for next
    			current.n++
    			buf.Reset()
    			block.Reset(buf)
    			current.First = ""
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  9. internal/logger/target/kafka/kafka.go

    	// stop the replay go-routine.
    	if h.store != nil {
    		h.storeCtxCancel()
    	}
    
    	// Set logch to nil and close it.
    	// This will block all Send operations,
    	// and finish the existing ones.
    	// All future ones will be discarded.
    	h.logChMu.Lock()
    	xioutil.SafeClose(h.logCh)
    	h.logCh = nil
    	h.logChMu.Unlock()
    
    	if h.producer != nil {
    		h.producer.Close()
    		h.client.Close()
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

    import com.google.common.util.concurrent.InterruptibleTask.Blocker;
    import java.nio.channels.spi.AbstractInterruptibleChannel;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.LockSupport;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    public final class InterruptibleTaskTest extends TestCase {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
Back to top