Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 856 for Initialize (0.61 sec)

  1. cmd/format-erasure.go

    // loadFormatErasureAll - load all format config from all input disks in parallel.
    func loadFormatErasureAll(storageDisks []StorageAPI, heal bool) ([]*formatErasureV3, []error) {
    	// Initialize list of errors.
    	g := errgroup.WithNErrs(len(storageDisks))
    
    	// Initialize format configs.
    	formats := make([]*formatErasureV3, len(storageDisks))
    
    	// Load format from each disk in parallel
    	for index := range storageDisks {
    		index := index
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

                    return lock
            }
    
            then:
            1 * initAction.requiresInitialization(lock) >> true
            1 * lock.writeFile(_) >> { Runnable r -> r.run() }
            1 * initAction.initialize(lock)
    
            then:
            1 * action.get() >> { contendedAction.accept(signal) }
    
            then:
            1 * lock.close()
            1 * signal.trigger()
            0 * _
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    	}()
    
    	// In normal circumstances, "websocket.Server#ServeHTTP" calls "initialize" which closes
    	// "conn.ready" and then blocks until serving is complete.
    	select {
    	case <-conn.ready:
    		klog.V(8).Infof("websocket server initialized--serving")
    	case <-serveHTTPComplete:
    		// websocket server returned before completing initialization; cleanup and return error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. cmd/post-policy_test.go

    	objectName := "config/x"
    
    	// This exploit needs browser to be enabled.
    	if !globalBrowserEnabled {
    		globalBrowserEnabled = true
    		defer func() { globalBrowserEnabled = false }()
    	}
    
    	// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    	rec := httptest.NewRecorder()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. src/text/scanner/scanner.go

    	s.srcPos = 0
    	s.srcEnd = 0
    
    	// initialize source position
    	s.srcBufOffset = 0
    	s.line = 1
    	s.column = 0
    	s.lastLineLen = 0
    	s.lastCharLen = 0
    
    	// initialize token text buffer
    	// (required for first call to next()).
    	s.tokPos = -1
    
    	// initialize one character look-ahead
    	s.ch = -2 // no char read yet, not EOF
    
    	// initialize public fields
    	s.Error = nil
    	s.ErrorCount = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel.go

    	}
    	// return empty read without blocking until we are initialized
    	return 0, nil
    }
    func (u *tunnelingWebsocketUpgraderConn) Write(b []byte) (n int, err error) {
    	u.lock.RLock()
    	defer u.lock.RUnlock()
    	if u.conn != nil {
    		return u.conn.Write(b)
    	}
    	if u.err != nil {
    		return 0, u.err
    	}
    	return 0, fmt.Errorf("Write called before Initialize")
    }
    func (u *tunnelingWebsocketUpgraderConn) Close() error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. pkg/xds/server.go

    	close(conn.stop)
    }
    
    func (conn *Connection) MarkInitialized() {
    	close(conn.initialized)
    }
    
    // ConnectionContext is used by the RPC event loop to respond to requests and pushes.
    type ConnectionContext interface {
    	XdsConnection() *Connection
    	Watcher() Watcher
    	// Initialize checks the first request.
    	Initialize(node *core.Node) error
    	// Close discards the connection.
    	Close()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_plugin.go

    			err := nim.InitializeCSINodeWithAnnotation()
    			if err != nil {
    				kvh.SetKubeletError(fmt.Errorf("failed to initialize CSINode: %v", err))
    				klog.Errorf("Failed to initialize CSINode: %v", err)
    				return false, nil
    			}
    
    			// Successfully initialized drivers, allow Kubelet to post Ready
    			kvh.SetKubeletError(nil)
    			return true, nil
    		})
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/compile.cc

      } else {
        return ReadBinaryProto(Env::Default(), fname, proto);
      }
    }
    
    static absl::once_flag targets_init;
    
    static void InitializeTargets() {
      // Initialize all LLVM targets so we can cross compile.
    #if TF_LLVM_AARCH32_AVAILABLE
      LLVMInitializeARMTarget();
      LLVMInitializeARMTargetInfo();
      LLVMInitializeARMTargetMC();
      LLVMInitializeARMAsmParser();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 08:28:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. pilot/pkg/xds/ads.go

    // Only used for test
    func ResetConnectionNumberForTest() {
    	atomic.StoreInt64(&connectionNumber, 0)
    }
    
    // initProxyMetadata initializes just the basic metadata of a proxy. This is decoupled from
    // initProxyState such that we can perform authorization before attempting expensive computations to
    // fully initialize the proxy.
    func (s *DiscoveryServer) initProxyMetadata(node *core.Node) (*model.Proxy, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top