- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 200 for newRule (0.13 sec)
-
pkg/test/framework/components/gcemetadata/gcemetadata.go
// Cluster to be used in a multicluster environment Cluster cluster.Cluster } // New returns a new instance of stackdriver. func New(ctx resource.Context, c Config) (i Instance, err error) { return newKube(ctx, c) } // NewOrFail returns a new GCE Metadata Server instance or fails test. func NewOrFail(t test.Failer, ctx resource.Context, c Config) Instance { t.Helper() i, err := New(ctx, c) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 22:47:52 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/internal/buildid/note.go
func readELF(name string, f *os.File, data []byte) (buildid string, err error) { // Assume the note content is in the data, already read. // Rewrite the ELF header to set shoff and shnum to 0, so that we can pass // the data to elf.NewFile and it will decode the Prog list but not // try to read the section headers and the string table from disk. // That's a waste of I/O when all we care about is the Prog list // and the one ELF note.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 20:40:42 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/term/term_windows.go
var h windows.Handle p, _ := windows.GetCurrentProcess() if err := windows.DuplicateHandle(p, windows.Handle(fd), p, &h, 0, false, windows.DUPLICATE_SAME_ACCESS); err != nil { return nil, err } f := os.NewFile(uintptr(h), "stdin") defer f.Close() return readPasswordLine(f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 15 19:02:39 UTC 2021 - 2.1K bytes - Viewed (0) -
pkg/test/framework/components/registryredirector/registryredirector.go
Image string } // New returns a new instance of registry redirector. func New(ctx resource.Context, c Config) (i Instance, err error) { return newKube(ctx, c) } // NewOrFail returns a new registry redirector instance or fails test. func NewOrFail(t test.Failer, ctx resource.Context, c Config) Instance { t.Helper() i, err := New(ctx, c) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 12 04:46:04 UTC 2022 - 2K bytes - Viewed (0) -
testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/AbstractScriptCachingIntegrationTest.kt
gradleExecuterFor( arrayOf( "--debug", // Required to verify script compilation via log messages "-Dorg.gradle.internal.operations.trace=${newFile("operation-trace")}", *arguments ) )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 11:33:23 UTC 2024 - 1.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/schedule_test.go
Valu("z", OpARM64MOVDconst, c.config.Types.UInt64, 7, nil), Valu("A1", OpARM64ADDSflags, types.NewTuple(c.config.Types.UInt64, types.TypeFlags), 0, nil, "x", "z"), // x+z, set flags Valu("A1carry", OpSelect1, types.TypeFlags, 0, nil, "A1"), Valu("A2", OpARM64ADDSflags, types.NewTuple(c.config.Types.UInt64, types.TypeFlags), 0, nil, "y", "z"), // y+z, set flags Valu("A2carry", OpSelect1, types.TypeFlags, 0, nil, "A2"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 01:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
src/debug/pe/file.go
f.closer = nil } return err } // TODO(brainman): add Load function, as a replacement for NewFile, that does not call removeAuxSymbols (for performance) // NewFile creates a new [File] for accessing a PE binary in an underlying reader. func NewFile(r io.ReaderAt) (*File, error) { f := new(File) sr := io.NewSectionReader(r, 0, 1<<63-1) var dosheader [96]byte if _, err := r.ReadAt(dosheader[0:], 0); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.2K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/api/plugins/BasePluginIntegrationTest.groovy
def "clean failure message indicates file"() { given: buildFile << """ apply plugin: 'base' """ and: def channel = new RandomAccessFile(file("build/newFile").createFile(), "rw").channel def lock = channel.lock() when: fails "clean" then: failure.assertThatCause(containsString("Unable to delete directory '${file('build')}'"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/test/framework/components/prometheus/prometheus.go
// If true, connect to an existing prometheus rather than creating a new one SkipDeploy bool } // New returns a new instance of prometheus. func New(ctx resource.Context, c Config) (i Instance, err error) { return newKube(ctx, c) } // NewOrFail returns a new Prometheus instance or fails test. func NewOrFail(t test.Failer, ctx resource.Context, c Config) Instance { t.Helper() i, err := New(ctx, c) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 02 02:57:50 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/test/framework/components/istioctl/istioctl.go
// Cluster to be used in a multicluster environment Cluster cluster.Cluster } // New returns a new instance of "istioctl". func New(ctx resource.Context, cfg Config) (i Instance, err error) { return newKube(ctx, cfg) } // NewOrFail returns a new instance of "istioctl". func NewOrFail(t test.Failer, c resource.Context, config Config) Instance { i, err := New(c, config) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 14 22:20:09 UTC 2022 - 1.9K bytes - Viewed (0)