Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for choosing (1.77 sec)

  1. internal/config/storageclass/storage-class.go

    // an erasure shard and written along with xl.meta on the drive, on a versioned
    // bucket this value is automatically chosen to 1/8th of the this value, make
    // sure to put this into consideration when choosing this value.
    func (sCfg *Config) InlineBlock() int64 {
    	ConfigLock.RLock()
    	defer ConfigLock.RUnlock()
    	if !sCfg.initialized {
    		return 128 * humanize.KiByte
    	}
    	return sCfg.inlineBlock
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses.go

    	})
    
    	return setCounts
    }
    
    // getSetIndexes returns list of indexes which provides the set size
    // on each index, this function also determines the final set size
    // The final set size has the affinity towards choosing smaller
    // indexes (total sets)
    func getSetIndexes(args []string, totalSizes []uint64, setDriveCount uint64, argPatterns []ellipses.ArgPattern) (setIndexes [][]uint64, err error) {
    	if len(totalSizes) == 0 || len(args) == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Tables.java

       * well, {@code function} should be fast. To avoid lazy evaluation when the returned table doesn't
       * need to be a view, copy the returned table into a new table of your choosing.
       *
       * @since 10.0
       */
      public static <
              R extends @Nullable Object,
              C extends @Nullable Object,
              V1 extends @Nullable Object,
              V2 extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. pilot/pkg/model/telemetry.go

    			case tpb.WorkloadMode_SERVER:
    				specs = []*TracingSpec{&serverSpec}
    			}
    		}
    
    		if len(names) > 0 {
    			// NOTE: we only support a single provider per mode
    			// so, choosing the first provider returned in the list
    			// is the "safest"
    			fetched := t.fetchProvider(names[0])
    			for _, spec := range specs {
    				spec.Provider = fetched
    			}
    		}
    
    		// Now merge in any overrides
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. src/go/types/unify.go

    					}
    				} else if xi != nil || yi != nil {
    					// One but not both of them are interfaces.
    					// In this case, either x or y could be viable matches for the corresponding
    					// type parameter, which means choosing either introduces an order dependence.
    					// Therefore, we must fail unification (go.dev/issue/60933).
    					return false
    				}
    				// If we have inexact unification and one of x or y is a defined type, select the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/unify.go

    					}
    				} else if xi != nil || yi != nil {
    					// One but not both of them are interfaces.
    					// In this case, either x or y could be viable matches for the corresponding
    					// type parameter, which means choosing either introduces an order dependence.
    					// Therefore, we must fail unification (go.dev/issue/60933).
    					return false
    				}
    				// If we have inexact unification and one of x or y is a defined type, select the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. src/encoding/json/encode.go

    	// except that fields with JSON tags are promoted.
    
    	// The fields are sorted in primary order of name, secondary order
    	// of field index length. Loop over names; for each name, delete
    	// hidden fields by choosing the one dominant field that survives.
    	out := fields[:0]
    	for advance, i := 0, 0; i < len(fields); i += advance {
    		// One iteration per name.
    		// Find the sequence of fields with the name of this first field.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  8. src/runtime/netpoll.go

    func poll_runtime_pollClose(pd *pollDesc) {
    	if !pd.closing {
    		throw("runtime: close polldesc w/o unblock")
    	}
    	wg := pd.wg.Load()
    	if wg != pdNil && wg != pdReady {
    		throw("runtime: blocked write on closing polldesc")
    	}
    	rg := pd.rg.Load()
    	if rg != pdNil && rg != pdReady {
    		throw("runtime: blocked read on closing polldesc")
    	}
    	netpollclose(pd.fd)
    	pollcache.free(pd)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. internal/grid/muxclient.go

    	m.respMu.Lock()
    	defer m.respMu.Unlock()
    	if m.closed {
    		return false
    	}
    	select {
    	case m.respWait <- r:
    		if r.Err != nil {
    			if debugPrint {
    				fmt.Println("Closing mux", m.MuxID, "due to error:", r.Err)
    			}
    			m.closeLocked()
    		}
    		return true
    	default:
    		if m.stateless {
    			// Drop message if not stateful.
    			return
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. internal/logger/target/kafka/kafka.go

    	failedMessages int64
    
    	wg sync.WaitGroup
    
    	// Channel of log entries.
    	// Reading logCh must hold read lock on logChMu (to avoid read race)
    	// Sending a value on logCh must hold read lock on logChMu (to avoid closing)
    	logCh   chan interface{}
    	logChMu sync.RWMutex
    
    	// store to persist and replay the logs to the target
    	// to avoid missing events when the target is down.
    	store          store.Store[interface{}]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top