- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,890 for copyFn (0.16 sec)
-
pkg/file/file_test.go
"path/filepath" "testing" "istio.io/istio/pkg/test/util/assert" ) func copyTest(t *testing.T, copyFn func(srcFilepath, targetDir, targetFilename string) error) { t.Helper() d := t.TempDir() if err := os.WriteFile(filepath.Join(d, "in"), []byte("hello world"), 0o750); err != nil { t.Fatal(err) } if err := copyFn(filepath.Join(d, "in"), d, "out"); err != nil { t.Fatal(err) } f, err := os.Open(filepath.Join(d, "out"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 11 19:10:54 UTC 2023 - 1.9K bytes - Viewed (0) -
test/noinit.go
// make this special case work. copy_four, copy_five = four, five copy_x = x // copy_y = y // static init of copied strings defeats link -X; see #34675 copy_nilslice = nilslice copy_nilmap = nilmap copy_nilfunc = nilfunc copy_nilchan = nilchan copy_nilptr = nilptr ) var copy_a = a var copy_s = s var copy_c = c var copy_aa = aa var copy_as = as var copy_sa = sa
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 17:57:36 UTC 2023 - 6.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/copyGen.go
package main import ( "bytes" "fmt" "go/format" "log" "os" ) // This program generates tests to verify that copying operations // copy the data they are supposed to and clobber no adjacent values. // run as `go run copyGen.go`. A file called copy.go // will be written into the parent directory containing the tests.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 3.6K bytes - Viewed (0) -
licenses/github.com/BurntSushi/toml/COPYING
The MIT License (MIT) Copyright (c) 2013 TOML authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Oct 26 02:47:39 UTC 2019 - 1.1K bytes - Viewed (0) -
licenses/github.com/BurntSushi/toml/cmd/toml-test-decoder/COPYING
The MIT License (MIT) Copyright (c) 2013 TOML authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Oct 28 19:33:59 UTC 2019 - 1.1K bytes - Viewed (0) -
licenses/github.com/BurntSushi/toml/internal/toml-test/COPYING
The MIT License (MIT) Copyright (c) 2018 TOML authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 03 22:58:15 UTC 2022 - 1.1K bytes - Viewed (0) -
licenses/github.com/alecthomas/participle/v2/COPYING
Copyright (C) 2017-2022 Alec Thomas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 17:05:56 UTC 2024 - 1K bytes - Viewed (0) -
licenses/github.com/BurntSushi/toml/cmd/tomlv/COPYING
The MIT License (MIT) Copyright (c) 2013 TOML authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Oct 28 19:33:59 UTC 2019 - 1.1K bytes - Viewed (0) -
licenses/github.com/BurntSushi/toml/cmd/toml-test-encoder/COPYING
The MIT License (MIT) Copyright (c) 2013 TOML authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Oct 28 19:33:59 UTC 2019 - 1.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/copy.go
// In this case, the file is moved by copying and then deleting the source file, // although it is less efficient than os.Rename(). klog.V(4).Infof("cannot rename %v to %v due to %v, attempting an alternative method", src, dest, err) if err := CopyFile(src, dest); err != nil { return errors.Wrapf(err, "failed to copy file %v to %v", src, dest) } return os.Remove(src) } return err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 22 01:42:57 UTC 2024 - 1.9K bytes - Viewed (0)