Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for someFile (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    			// promise that time.After (well, NewTimer, which it calls)
    			// will wait *at least* the duration given. Since this go
    			// routine starts sometime after we record the start time, and
    			// it will wake up the loop below sometime after the broadcast,
    			// we don't need to worry about waking it up before the time
    			// has expired accidentally.
    			<-w.clock.After(blockTimeout)
    			w.cond.Broadcast()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    		if foundLocal || (epsResolved == len(endpoints)) {
    			break
    		}
    
    		// Retry infinitely on Kubernetes and Docker swarm.
    		// This is needed as the remote hosts are sometime
    		// not available immediately.
    		select {
    		case <-globalOSSignalCh:
    			return fmt.Errorf("The endpoint resolution got interrupted")
    		default:
    			for i, resolved := range resolvedList {
    				if resolved {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. src/os/file_unix.go

    		if ofi, err := Lstat(oldname); err != nil {
    			if pe, ok := err.(*PathError); ok {
    				err = pe.Err
    			}
    			return &LinkError{"rename", oldname, newname, err}
    		} else if newname == oldname || !SameFile(fi, ofi) {
    			return &LinkError{"rename", oldname, newname, syscall.EEXIST}
    		}
    	}
    	err = ignoringEINTR(func() error {
    		return syscall.Rename(oldname, newname)
    	})
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/cfg/cfg.go

    func isSameDir(dir1, dir2 string) bool {
    	if dir1 == dir2 {
    		return true
    	}
    	info1, err1 := os.Stat(dir1)
    	info2, err2 := os.Stat(dir2)
    	return err1 == nil && err2 == nil && os.SameFile(info1, info2)
    }
    
    // isGOROOT reports whether path looks like a GOROOT.
    //
    // It does this by looking for the path/pkg/tool directory,
    // which is necessary for useful operation of the cmd/go tool,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/config.go

    // Get is a utility method that helps in readability of call sites.
    func (g ConfigGetter) Get() []Config {
    	return g()
    }
    
    // Future creates a Getter for a variable the custom echo deployment that will be set at sometime in the future.
    // This is helpful for configuring a setup chain for a test suite that operates on global variables.
    func ConfigFuture(custom *[]Config) ConfigGetter {
    	return func() []Config {
    		return *custom
    	}
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

                // Unpack to deal with DSL syntax: collection += someFiles
                if (path instanceof FileCollectionInternal) {
                    path = ((FileCollectionInternal) path).replace(owner, () -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. src/runtime/mgclimit.go

    		//
    		// The reason we do this instead of just waiting for those events to finish and push updates
    		// is to ensure that all the time we're accounting for happened sometime between lastUpdate
    		// and now. This dramatically simplifies reasoning about the limiter because we're not at
    		// risk of extra time being accounted for in this window than actually happened in this window,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_set.go

    	return cm.ClaimPods(ctx, pods, filter)
    }
    
    // If any adoptions are attempted, we should first recheck for deletion with
    // an uncached quorum read sometime after listing Pods/ControllerRevisions (see #42639).
    func (ssc *StatefulSetController) canAdoptFunc(ctx context.Context, set *apps.StatefulSet) func(ctx2 context.Context) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. pkg/controller/deployment/deployment_controller.go

    		return nil, fmt.Errorf("deployment %s/%s has invalid label selector: %v", d.Namespace, d.Name, err)
    	}
    	// If any adoptions are attempted, we should first recheck for deletion with
    	// an uncached quorum read sometime after listing ReplicaSets (see #42639).
    	canAdoptFunc := controller.RecheckDeletionTimestamp(func(ctx context.Context) (metav1.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. pkg/controller/daemon/update.go

    	if err != nil {
    		return nil, err
    	}
    	// If any adoptions are attempted, we should first recheck for deletion with
    	// an uncached quorum read sometime after listing Pods (see #42639).
    	canAdoptFunc := controller.RecheckDeletionTimestamp(func(ctx context.Context) (metav1.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top