Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 346 for initialFiles (1.04 sec)

  1. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    	revision          string
    
    	// secretNamespace where we get cluster-access secrets
    	secretNamespace string
    	component       *multicluster.Component[*kubeController]
    }
    
    // NewMulticluster initializes data structure to store multicluster information
    func NewMulticluster(
    	serverID string,
    	kc kubernetes.Interface,
    	secretNamespace string,
    	opts Options,
    	serviceEntryController *serviceentry.Controller,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/runtime/rand.go

    // by calling goodrand.
    var globalRand struct {
    	lock  mutex
    	seed  [32]byte
    	state chacha8rand.State
    	init  bool
    }
    
    var readRandomFailed bool
    
    // randinit initializes the global random state.
    // It must be called before any use of grand.
    func randinit() {
    	lock(&globalRand.lock)
    	if globalRand.init {
    		fatal("randinit twice")
    	}
    
    	seed := &globalRand.seed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

          Bias and activation function are optional.
          """
    
          def __init__(
              self,
              weight_shape: Sequence[int],
          ) -> None:
            """Initializes a MatmulModel.
    
            Args:
              weight_shape: Shape of the weight tensor.
            """
            self.filters = np.random.uniform(low=-1.0, high=1.0, size=weight_shape)
    
            if bias_fn is not None:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. tensorflow/c/checkpoint_reader.cc

        : reader_(nullptr),
          v2_reader_(nullptr),
          var_to_shape_map_(nullptr),
          var_to_data_type_map_(nullptr) {
      // Depending on whether this is a V2 ckpt, initializes "reader_" or
      // "v2_reader_".
      std::vector<string> v2_path;
      if (Env::Default()->GetMatchingPaths(MetaFilename(filename), &v2_path).ok() &&
          !v2_path.empty()) {
        v2_reader_.reset(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 21:29:12 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates.go

    		// Pods can be more schedulable once it's gates are removed
    		{Event: framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.Update}, QueueingHintFn: pl.isSchedulableAfterPodChange},
    	}
    }
    
    // New initializes a new plugin and returns it.
    func New(_ context.Context, _ runtime.Object, _ framework.Handle, fts feature.Features) (framework.Plugin, error) {
    	return &SchedulingGates{
    		enableSchedulingQueueHint: fts.EnableSchedulingQueueHint,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. internal/config/cache/remote.go

    // if any present
    func canonicalizeETag(etag string) string {
    	return etagRegex.ReplaceAllString(etag, "$1")
    }
    
    // Init - populates the input values, initializes CondCheck
    // before sending the request remotely.
    func (r *CondCheck) Init(bucket, object string, header http.Header) {
    	r.Key = object
    	r.Bucket = bucket
    
    	ifModifiedSinceHeader := header.Get(xhttp.IfModifiedSince)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/admission.go

    func (a *QuotaAdmission) SetExternalKubeInformerFactory(f informers.SharedInformerFactory) {
    	a.quotaAccessor.lister = f.Core().V1().ResourceQuotas().Lister()
    }
    
    // SetQuotaConfiguration assigns and initializes configuration and evaluator for QuotaAdmission
    func (a *QuotaAdmission) SetQuotaConfiguration(c quota.Configuration) {
    	a.quotaConfiguration = c
    	if a.stopCh == nil {
    		a.initializationErr = stopChUnconfiguredErr
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 23 10:34:50 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  8. test/typeparam/listimp2.dir/a.go

    type List[T any] struct {
    	root Element[T] // sentinel list element, only &root, root.prev, and root.next are used
    	len  int        // current list length excluding (this) sentinel element
    }
    
    // Init initializes or clears list l.
    func (l *List[T]) Init() *List[T] {
    	l.root.next = &l.root
    	l.root.prev = &l.root
    	l.len = 0
    	return l
    }
    
    // New returns an initialized list.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 8K bytes
    - Viewed (0)
  9. src/runtime/mpagealloc_32bit.go

    		lo, hi := addrsToSummaryRange(l, base, limit)
    		_, hi = blockAlignSummaryRange(l, lo, hi)
    		if hi > len(p.summary[l]) {
    			p.summary[l] = p.summary[l][:hi]
    		}
    	}
    }
    
    // sysInit initializes the scavengeIndex' chunks array.
    //
    // Returns the amount of memory added to sysStat.
    func (s *scavengeIndex) sysInit(test bool, sysStat *sysMemStat) (mappedReady uintptr) {
    	if test {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/os/writeto_linux_test.go

    		t.Fatalf("data length mismatch for net.Conn.Read, got %d, want %d", m, dataSize)
    	}
    	if !bytes.Equal(dstData, data) {
    		t.Errorf("data mismatch, got %s, want %s", dstData, data)
    	}
    }
    
    // newSendFileTest initializes a new test for sendfile.
    //
    // It creates source file and destination sockets, and populates the source file
    // with random data of the specified size. It also hooks package os' call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top