- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 8,592 for copyFn (0.36 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) -
src/runtime/mprof.go
return threadCreateProfileInternal(len(p), func(r profilerecord.StackRecord) { copy(p[0].Stack0[:], r.Stack) p = p[1:] }) } // threadCreateProfileInternal returns the number of records n in the profile. // If there are less than size records, copyFn is invoked for each record, and // ok returns true. func threadCreateProfileInternal(size int, copyFn func(profilerecord.StackRecord)) (n int, ok bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K 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/google/shlex/COPYING
modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 22 22:59:25 UTC 2021 - 11.1K bytes - Viewed (0)