Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 123 for Initializer (0.2 sec)

  1. cmd/erasure-object.go

    		return ObjectInfo{}, toObjectErr(errInvalidArgument)
    	}
    
    	// Initialize parts metadata
    	partsMetadata := make([]FileInfo, len(storageDisks))
    
    	fi := newFileInfo(pathJoin(minioMetaBucket, key), dataDrives, parityDrives)
    	fi.DataDir = mustGetUUID()
    
    	// Initialize erasure metadata.
    	for index := range partsMetadata {
    		partsMetadata[index] = fi
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/proxier.go

    	proxier.syncRunner.Loop(wait.NeverStop)
    }
    
    func (proxier *Proxier) setInitialized(value bool) {
    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    	return atomic.LoadInt32(&proxier.initialized) > 0
    }
    
    // OnServiceAdd is called whenever creation of new service object
    // is observed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/istio_ca.go

    		log.Infof("failed to add cacerts file watcher for %s: %v", dir, err)
    		return err
    	}
    
    	log.Infof("Added cacerts files watcher at %v", dir)
    
    	return nil
    }
    
    // initCACertsWatcher initializes the cacerts (/etc/cacerts) directory.
    // In particular it monitors 'ca-key.pem', 'ca-cert.pem', 'root-cert.pem'
    // and 'cert-chain.pem'.
    func (s *Server) initCACertsWatcher() {
    	var err error
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

             *             const val K = 1
             *         }
             *     }
             *
             * the compiler reports "Variable 'K' must be initialized". This happens because there is no guarantee that the companion object
             * was initialized at the time when we use `C.K` for the enum entry `ONE`. To avoid this type of compiler errors, we don't shorten
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  5. pilot/pkg/xds/deltatest.go

    	usedDelta bool,
    	delta model.ResourceDelta,
    	incremental bool,
    ) {
    	current := con.proxy.GetWatchedResource(w.TypeUrl).LastResources
    	if current == nil {
    		log.Debugf("ADS:%s: resources initialized", v3.GetShortType(w.TypeUrl))
    		return
    	}
    	if deltaRes == nil && deleted == nil && len(sotwRes) == 0 {
    		// TODO: it suspicious full is never nil - are there case where we should be deleting everything?
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet.go

    		klog.InfoS("Not starting ClusterTrustBundle informer because we are in static kubelet mode")
    	}
    
    	// NewInitializedVolumePluginMgr initializes some storageErrors on the Kubelet runtimeState (in csi_plugin.go init)
    	// which affects node ready status. This function must be called before Kubelet is initialized so that the Node
    	// ReadyState is accurate with the storage state.
    	klet.volumePluginMgr, err =
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go

    		Codec:          codecs.LegacyCodec(examplev1.SchemeGroupVersion),
    		Clock:          setupOpts.clock,
    	}
    	cacher, err := NewCacherFromConfig(config)
    	if err != nil {
    		t.Fatalf("Failed to initialize cacher: %v", err)
    	}
    	ctx := context.Background()
    	terminate := func() {
    		cacher.Stop()
    		server.Terminate(t)
    	}
    
    	// Since some tests depend on the fact that GetList shouldn't fail,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    		// just return the extended index.
    		//
    		// Here, bounded == true if the compiler generated the index itself,
    		// such as in the expansion of a slice initializer. These indexes are
    		// compiler-generated, not Go program variables, so they cannot be
    		// attacker-controlled, so we can omit Spectre masking as well.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    		if !c.ready.check() && shouldDelegateListOnNotReadyCache(opts) {
    			// If Cacher is not initialized, delegate List requests to storage
    			// as described in https://kep.k8s.io/4568
    			return c.storage.GetList(ctx, key, opts, listObj)
    		}
    	} else {
    		if listRV == 0 && !c.ready.check() {
    			// If Cacher is not yet initialized and we don't require any specific
    			// minimal resource version, simply forward the request to storage.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/util/util.go

    		b.WriteRune(':')
    		b.WriteString(proxyLabels[key])
    		b.WriteRune(' ')
    	}
    	return b.Bytes()
    }
    
    // IsLocalityEmpty checks if a locality is empty (checking region is good enough, based on how its initialized)
    func IsLocalityEmpty(locality *core.Locality) bool {
    	if locality == nil || (len(locality.GetRegion()) == 0) {
    		return true
    	}
    	return false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top