Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,343 for lets (0.08 sec)

  1. pkg/volume/csi/csi_drivers_store.go

    	store
    	sync.RWMutex
    }
    
    type store map[string]Driver
    
    // Get lets you retrieve a CSI Driver by name.
    // This method is protected by a mutex.
    func (s *DriversStore) Get(driverName string) (Driver, bool) {
    	s.RLock()
    	defer s.RUnlock()
    
    	driver, ok := s.store[driverName]
    	return driver, ok
    }
    
    // Set lets you save a CSI Driver to the list and give it a specific name.
    // This method is protected by a mutex.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/dra/plugin/plugins_store.go

    // and their corresponding sockets.
    var draPlugins = &pluginsStore{}
    
    // Get lets you retrieve a DRA Plugin by name.
    // This method is protected by a mutex.
    func (s *pluginsStore) get(pluginName string) *plugin {
    	s.RLock()
    	defer s.RUnlock()
    
    	return s.store[pluginName]
    }
    
    // Set lets you save a DRA Plugin to the list and give it a specific name.
    // This method is protected by a mutex.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 13:11:27 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    }
    
    // Stop implements Interface
    func (w emptyWatch) Stop() {
    }
    
    // ResultChan implements Interface
    func (w emptyWatch) ResultChan() <-chan Event {
    	return chan Event(w)
    }
    
    // FakeWatcher lets you test anything that consumes a watch.Interface; threadsafe.
    type FakeWatcher struct {
    	result  chan Event
    	stopped bool
    	sync.Mutex
    }
    
    func NewFake() *FakeWatcher {
    	return &FakeWatcher{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  4. src/internal/abi/abi_generic.go

    //go:build !goexperiment.regabiargs && !amd64 && !arm64 && !loong64 && !ppc64 && !ppc64le && !riscv64
    
    package abi
    
    const (
    	// ABI-related constants.
    	//
    	// In the generic case, these are all zero
    	// which lets them gracefully degrade to ABI0.
    
    	// IntArgRegs is the number of registers dedicated
    	// to passing integer argument values. Result registers are identical
    	// to argument registers, so this number is used for those too.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:38:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_signal_ios_arm64.c

    {
    	kern_return_t ret;
    	arm_unified_thread_state_t thread_state;
    	mach_msg_type_number_t state_count = ARM_UNIFIED_THREAD_STATE_COUNT;
    
    	// Returning KERN_SUCCESS intercepts the exception.
    	//
    	// Returning KERN_FAILURE lets the exception fall through to the
    	// next handler, which is the standard signal emulation code
    	// registered on the task port.
    
    	if (exception != EXC_BAD_ACCESS) {
    		return KERN_FAILURE;
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:04:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/clone_constants_for_better_clustering.h

    // clusters.
    //
    // This helps us in two ways:
    //
    //  - It reduces dependencies between clusters.  Let's say a constant C is used
    //    by nodes X and Y.  If X and Y are put in different clusters (for whatever
    //    reason) Y's cluster now has to wait for all the operations in X's cluster
    //    to finish before it starts running.
    //
    //  - It lets us create bigger clusters in multi-GPU benchmarks.  Consider the
    //    following graph:
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 23:57:44 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/str/str.go

    		}
    	}
    	return x
    }
    
    // ToFold returns a string with the property that
    //
    //	strings.EqualFold(s, t) iff ToFold(s) == ToFold(t)
    //
    // This lets us test a large set of strings for fold-equivalent
    // duplicates without making a quadratic number of calls
    // to EqualFold. Note that strings.ToUpper and strings.ToLower
    // do not have the desired property in some corner cases.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 20:08:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part6_gradle_caching.adoc

    > Task :app:testClasses UP-TO-DATE
    > Task :app:test FROM-CACHE
    > Task :app:check UP-TO-DATE
    > Task :app:build
    
    BUILD SUCCESSFUL in 525ms
    8 actionable tasks: 5 executed, 3 from cache
    ----
    
    Gradle lets us know the outcome of each task in the console output:
    
    - `FROM-CACHE` - tasks have been fetched from the local build cache.
    - `UP-TO-DATE` - tasks that used incremental build and were not re-run.
    
    To summarize:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/errors/example_test.go

    func ExampleNew() {
    	err := errors.New("emit macho dwarf: elf header corrupted")
    	if err != nil {
    		fmt.Print(err)
    	}
    	// Output: emit macho dwarf: elf header corrupted
    }
    
    // The fmt package's Errorf function lets us use the package's formatting
    // features to create descriptive error messages.
    func ExampleNew_errorf() {
    	const name, id = "bimmler", 17
    	err := fmt.Errorf("user %q (id %d) not found", name, id)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 02:08:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_server_journal_windows.go

    		if _, ok := err.(*exec.ExitError); ok {
    			return false
    		}
    		// Other errors imply that CombinedOutput failed before the command was executed,
    		// so lets to get the logs using Get-WinEvent at the call site instead of assuming
    		// the service is logging to a file
    	}
    	return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 15:54:36 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top