- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 6,081 for f$ (0.05 sec)
-
src/go/types/mono_test.go
} // TODO(mdempsky): Validate specific error messages and positioning. var bads = []string{ "func F[T any](x T) { F(&x) }", "func F[T any]() { F[*T]() }", "func F[T any]() { F[[]T]() }", "func F[T any]() { F[[1]T]() }", "func F[T any]() { F[chan T]() }", "func F[T any]() { F[map[*T]int]() }", "func F[T any]() { F[map[error]T]() }", "func F[T any]() { F[func(T)]() }", "func F[T any]() { F[func() T]() }",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 17:58:07 UTC 2023 - 2.5K bytes - Viewed (0) -
src/sync/once.go
func (o *Once) Do(f func()) { // Note: Here is an incorrect implementation of Do: // // if o.done.CompareAndSwap(0, 1) { // f() // } // // Do guarantees that when it returns, f has finished. // This implementation would not implement that guarantee: // given two simultaneous calls, the winner of the cas would // call f, and the second would return immediately, without // waiting for the first's call to f to complete.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfieldsupdater_test.go
t.Fatal(err) } previousManagedFields := f.ManagedFields() time.Sleep(time.Second) err = updateObject(f, "fieldmanager_test", []byte(`{ "apiVersion": "v1", "kind": "ConfigMap", "metadata": { "name": "configmap" }, "data": { "key": "new-value" } }`)) if err != nil { t.Fatal(err) } newManagedFields := f.ManagedFields()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/RandomAccessFileTest.java
try ( SmbFile f = createTestFile() ) { try { try ( SmbFileOutputStream os = f.openOutputStream() ) { os.write(new byte[] { 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7 }); } try ( SmbRandomAccessFile raf = new SmbRandomAccessFile(f, "r") ) { raf.seek(10);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/work.go
// Cleanup cleans out all the cleared entries. func (f *WorkFile) Cleanup() { w := 0 for _, r := range f.Use { if r.Path != "" { f.Use[w] = r w++ } } f.Use = f.Use[:w] w = 0 for _, r := range f.Replace { if r.Old.Path != "" { f.Replace[w] = r w++ } } f.Replace = f.Replace[:w] f.Syntax.Cleanup() } func (f *WorkFile) AddGoStmt(version string) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 7.7K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/config.go
continue } } f := configField{ name: name, urlparam: urlparam[name], saved: (name == js[0]), field: field, choices: choices[name], } f.defaultValue = def.get(f) configFields = append(configFields, f) configFieldMap[f.name] = f for _, choice := range f.choices { configFieldMap[choice] = f } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 10.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/tooltags.txt
env GOOS=linux env GOARCH=amd64 env GOAMD64=v3 go list -f '{{context.ToolTags}}' stdout 'amd64.v1 amd64.v2 amd64.v3' env GOARCH=arm env GOARM=6 go list -f '{{context.ToolTags}}' stdout 'arm.5 arm.6' env GOARCH=mips env GOMIPS=hardfloat go list -f '{{context.ToolTags}}' stdout 'mips.hardfloat' env GOARCH=mips64 env GOMIPS=hardfloat go list -f '{{context.ToolTags}}' stdout 'mips64.hardfloat' env GOARCH=ppc64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 07:25:25 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/util/iptables/testing/fake.go
}, }, }, } return f } // NewIPv6Fake returns a no-op iptables.Interface with IsIPv6() == true func NewIPv6Fake() *FakeIPTables { f := NewFake() f.protocol = iptables.ProtocolIPv6 return f } // SetHasRandomFully sets f's return value for HasRandomFully() func (f *FakeIPTables) SetHasRandomFully(can bool) *FakeIPTables { f.hasRandomFully = can return f }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 8.5K bytes - Viewed (0) -
src/cmd/internal/bio/buf.go
} // Open returns a Reader for the file named name. func Open(name string) (*Reader, error) { f, err := os.Open(name) if err != nil { return nil, err } return NewReader(f), nil } // NewReader returns a Reader from an open file. func NewReader(f *os.File) *Reader { return &Reader{f: f, Reader: bufio.NewReader(f)} } func (r *Reader) MustSeek(offset int64, whence int) int64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 11 17:15:15 UTC 2020 - 3.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_mutate_fail.txt
} func FuzzFail(f *testing.F) { if isWorker() { f.Fail() } f.Fuzz(func(*testing.T, []byte) {}) } func FuzzPanic(f *testing.F) { if isWorker() { panic("nope") } f.Fuzz(func(*testing.T, []byte) {}) } func FuzzNilPanic(f *testing.F) { if isWorker() { panic(nil) } f.Fuzz(func(*testing.T, []byte) {}) } func FuzzGoexit(f *testing.F) { if isWorker() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1.5K bytes - Viewed (0)