- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for oldname (0.11 sec)
-
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) -
src/cmd/go/internal/work/shell.go
} return err } // Symlink creates a symlink newname -> oldname. func (sh *Shell) Symlink(oldname, newname string) error { // It's not an error to try to recreate an existing symlink. if link, err := os.Readlink(newname); err == nil && link == oldname { return nil } if cfg.BuildN || cfg.BuildX { sh.ShowCmd("", "ln -s %s %s", oldname, newname) if cfg.BuildN { return nil } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 19.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
} } internal inline fun threadName( name: String, block: () -> Unit, ) { val currentThread = Thread.currentThread() val oldName = currentThread.name currentThread.name = name try { block() } finally { currentThread.name = oldName } } /** Returns the Content-Length as reported by the response headers. */ internal fun Response.headersContentLength(): Long {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
expectNoDiff(t, "incorrect first page", []example.Pod{*preset[0].storedObj}, out.Items) continueFromSecondItem := out.Continue // update /second/bar oldName := preset[2].obj.Name newPod := &example.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: oldName, Labels: map[string]string{ "state": "new", }, }, } if err := store.GuaranteedUpdate(ctx, preset[2].key, preset[2].storedObj, false, nil,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclass_test.go
class := testClass(goodName, goodName) class.Generation = 100 return class }(), }, "creation-timestamp": { class: func() *resource.ResourceClass { class := testClass(goodName, goodName) class.CreationTimestamp = now return class }(), }, "deletion-grace-period-seconds": { class: func() *resource.ResourceClass { class := testClass(goodName, goodName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 10.6K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go
} } func TestValidateClaimTemplate(t *testing.T) { validMode := resource.AllocationModeImmediate invalidMode := resource.AllocationMode("invalid") goodName := "foo" badName := "!@#$%^" goodNS := "ns" goodClaimSpec := resource.ResourceClaimSpec{ ResourceClassName: goodName, AllocationMode: validMode, } now := metav1.Now() badValue := "spaces not allowed" badAPIGroup := "example.com/v1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 12.3K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaim_test.go
} } func TestValidateClaim(t *testing.T) { validMode := resource.AllocationModeImmediate invalidMode := resource.AllocationMode("invalid") goodName := "foo" badName := "!@#$%^" goodNS := "ns" goodClaimSpec := resource.ResourceClaimSpec{ ResourceClassName: goodName, AllocationMode: validMode, } now := metav1.Now() badValue := "spaces not allowed" badAPIGroup := "example.com/v1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.7K bytes - Viewed (0) -
pilot/pkg/model/telemetry_logging.go
return al } func tcpGrpcAccessLogFromTelemetry(push *PushContext, prov *meshconfig.MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) *accesslog.AccessLog { logName := TCPEnvoyAccessLogFriendlyName if prov != nil && prov.LogName != "" { logName = prov.LogName } filterObjects := envoyWasmStateToLog if len(prov.FilterStateObjectsToLog) != 0 { filterObjects = prov.FilterStateObjectsToLog }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 23K bytes - Viewed (0) -
src/cmd/go/main.go
telemetry.Inc("go/subcommand:" + strings.ReplaceAll(cfg.CmdName, " ", "-") + "-" + strings.Join(args[used:], "-")) help.Help(os.Stdout, append(slices.Clip(args[:used]), args[used+1:]...)) base.Exit() } helpArg := "" if used > 0 { helpArg += " " + strings.Join(args[:used], " ") } cmdName := cfg.CmdName if cmdName == "" { cmdName = args[0] } telemetry.Inc("go/subcommand:unknown")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0)