Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 111 for someFile (0.2 sec)

  1. src/cmd/vendor/golang.org/x/text/unicode/norm/forminfo.go

    // Note that the recomposition map for NFC and NFKC are identical.
    
    // combine returns the combined rune or 0 if it doesn't exist.
    //
    // The caller is responsible for calling
    // recompMapOnce.Do(buildRecompMap) sometime before this is called.
    func combine(a, b rune) rune {
    	key := uint32(uint16(a))<<16 + uint32(uint16(b))
    	if recompMap == nil {
    		panic("caller error") // see func comment
    	}
    	return recompMap[key]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc

    }
    ----
    
    A build service implementation can also optionally implement `AutoCloseable`, in which case Gradle will call the build service instance's `close()` method when it discards the service instance.
    This happens sometime between the completion of the last task that uses the build service and the end of the build.
    
    Here is an example of a service that takes parameters and is closeable:
    
    ====
    [source.multi-language-sample,java]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:10 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/dist/util.go

    func xsamefile(f1, f2 string) bool {
    	fi1, err1 := os.Stat(f1)
    	fi2, err2 := os.Stat(f2)
    	if err1 != nil || err2 != nil {
    		return f1 == f2
    	}
    	return os.SameFile(fi1, fi2)
    }
    
    func xgetgoarm() string {
    	// If we're building on an actual arm system, and not building
    	// a cross-compiling toolchain, try to exec ourselves
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. 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)
  6. src/net/http/cgi/host_test.go

    		}
    		m[k] = v
    	}
    
    	for key, expected := range expectedMap {
    		got := m[key]
    		if key == "cwd" {
    			// For Windows. golang.org/issue/4645.
    			fi1, _ := os.Stat(got)
    			fi2, _ := os.Stat(expected)
    			if os.SameFile(fi1, fi2) {
    				got = expected
    			}
    		}
    		if got != expected {
    			t.Errorf("for key %q got %q; expected %q", key, got, expected)
    		}
    	}
    	for _, check := range checks {
    		check(m)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 18:29:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top