Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 3,278 for save (0.04 sec)

  1. cmd/erasure-sets.go

    		// Unknown algorithm returns -1, also if cardinality is lesser than 0.
    		return -1
    	}
    }
    
    // Returns always a same erasure coded set for a given input.
    func (s *erasureSets) getHashedSetIndex(input string) int {
    	return hashKey(s.distributionAlgo, input, len(s.sets), s.deploymentID)
    }
    
    // Returns always a same erasure coded set for a given input.
    func (s *erasureSets) getHashedSet(input string) (set *erasureObjects) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  2. guava/src/com/google/common/collect/ObjectArrays.java

        for (int i = 0; i < length; i++) {
          checkElementNotNull(array[i], i);
        }
        return array;
      }
    
      // We do this instead of Preconditions.checkNotNull to save boxing and array
      // creation cost.
      @CanIgnoreReturnValue
      static Object checkElementNotNull(Object element, int index) {
        if (element == null) {
          throw new NullPointerException("at index " + index);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/podcgroupns.go

    	/*
    		for each process, find its netns inode,
    		if we already seen the inode, skip it
    		if we haven't seen the inode, check the process cgroup and see if we
    		can extract a pod uid from it.
    		if we can, open the netns, and save a map of uid->netns-fd
    	*/
    
    	podUIDNetns := make(PodToNetns)
    	netnsObserved := sets.New[uint64]()
    
    	entries, err := fs.ReadDir(p.proc, ".")
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. internal/logger/target/kafka/kafka.go

    	return atomic.LoadInt32(&h.status) == statusOnline
    }
    
    // Send log message 'e' to kafka target.
    func (h *Target) Send(ctx context.Context, entry interface{}) error {
    	if h.store != nil {
    		// save the entry to the queue store which will be replayed to the target.
    		_, err := h.store.Put(entry)
    		return err
    	}
    	h.logChMu.RLock()
    	defer h.logChMu.RUnlock()
    	if h.logCh == nil {
    		// We are closing...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        if (elements instanceof ImmutableCollection) {
          /*
           * TODO: When given an ImmutableList that's a sublist, copy the referenced
           * portion of the array into a new array to save space?
           */
          @SuppressWarnings("unchecked") // all supported methods are covariant
          ImmutableCollection<E> list = (ImmutableCollection<E>) elements;
          return list.asList();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * collection-based APIs. Further, this method allows precise control over the runtime type of the
       * output array, and may, under certain circumstances, be used to save allocation costs.
       *
       * <p>Suppose {@code x} is a queue known to contain only strings. The following code can be used
       * to dump the queue into a newly allocated array of {@code String}:
       *
       * <pre>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * The maximum number of permits that can be saved (when the RateLimiter is unused) is defined in
       * terms of time, in this sense: if a RateLimiter is 2qps, and this time is specified as 10
       * seconds, we can save up to 2 * 10 = 20 permits.
       */
      static final class SmoothBursty extends SmoothRateLimiter {
        /** The work (permits) of how many seconds can be saved up if this RateLimiter is unused? */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

     * from this file as necessary.
     *
     * This class also keeps a small buffer of bytes recently read from upstream. This is intended to
     * save a small amount of file I/O and data copying.
     */
    class Relay private constructor(
      /**
       * Read/write persistence of the upstream source and its metadata. Its layout is as follows:
       *
       *  * 16 bytes: either `OkHttp cache v1\n` if the persisted file is complete. This is another
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/generate-clients.md

    ### 🏗 📕 👩‍đŸ’ģ
    
    🔜 👈 đŸ‘Ĩ ✔ī¸ 📱 ⏎ī¸ 🏷, đŸ‘Ĩ đŸ’Ē 🏗 👩‍đŸ’ģ 📟 🕸.
    
    #### ❎ `openapi-ts`
    
    👆 đŸ’Ē ❎ `openapi-ts` 👆 🕸 📟 ⏎ī¸:
    
    <div class="termy">
    
    ```console
    $ npm install @hey-api/openapi-ts --save-dev
    
    ---> 100%
    ```
    
    </div>
    
    #### 🏗 👩‍đŸ’ģ 📟
    
    🏗 👩‍đŸ’ģ 📟 👆 đŸ’Ē ⚙ī¸ 📋 ⏸ 🈸 `openapi-ts` 👈 🔜 🔜 ❎.
    
    ↩ī¸ âšĢī¸ ❎ 🇧đŸ‡ŋ 🏗, 👆 🎲 đŸšĢ🔜 đŸ’Ē 🤙 👈 📋 🔗, ✋ī¸ 👆 🔜 🚮 âšĢī¸ 🔛 👆 `package.json` 📁.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. cni/README.md

    - `istio-iptables`
        - sets up iptables to redirect a list of ports to the port envoy will listen
        - shared code with istio-init container
        - it will generate an iptables-save config, based on annotations/labels and other settings, and apply it.
    
    ### CmdAdd Sidecar Workflow
    
    `CmdAdd` is triggered when there is a new pod created. This runs on the node, in a chain of CNI plugins - Istio is
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top