- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for SendDir (0.44 sec)
-
src/go/internal/gccgoimporter/testdata/v1reflect.gox
func New (typ <type 26>) <type 1>; func NewAt (typ <type 26>, p <type 7>) <type 1>; const Ptr <type 28> = 22 ; func PtrTo (t <type 26>) <type 26>; const RecvDir <type 29> = 1 ; const SendDir <type 29> = 2 ; const Slice <type 28> = 23 ; type <type 60 "SliceHeader" <type 61 struct { Data <type -13>; Len <type -11>; Cap <type -11>; }>>; const String <type 28> = 24 ;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 30 21:33:51 UTC 2021 - 10.3K bytes - Viewed (0) -
src/internal/abi/type.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 21.8K bytes - Viewed (0) -
src/runtime/select.go
// This must match ../reflect/value.go:/runtimeSelect type runtimeSelect struct { dir selectDir typ unsafe.Pointer // channel type (not used here) ch *hchan // channel val unsafe.Pointer // ptr to data (SendDir) or ptr to receive buffer (RecvDir) } // These values must match ../reflect/value.go:/SelectDir. type selectDir int const ( _ selectDir = iota selectSend // case Chan <- Send
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 13 21:36:04 UTC 2024 - 15K bytes - Viewed (0) -
src/reflect/value.go
ch.mustBeExported() tt := (*chanType)(unsafe.Pointer(ch.typ())) if ChanDir(tt.Dir)&SendDir == 0 { panic("reflect.Select: SendDir case using recv-only channel") } rc.ch = ch.pointer() rc.typ = toRType(&tt.Type) v := c.Send if !v.IsValid() { panic("reflect.Select: SendDir case missing Send value") } v.mustBeExported() v = v.assignTo("reflect.Select", tt.Elem, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/reflect/type.go
type aTextOff = abi.TextOff // ChanDir represents a channel type's direction. type ChanDir int const ( RecvDir ChanDir = 1 << iota // <-chan SendDir // chan<- BothDir = RecvDir | SendDir // chan ) // arrayType represents a fixed array type. type arrayType = abi.ArrayType // chanType represents a channel type. type chanType = abi.ChanType
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/text/template/exec.go
} om := fmtsort.Sort(val) for _, m := range om { oneIteration(m.Key, m.Value) } return case reflect.Chan: if val.IsNil() { break } if val.Type().ChanDir() == reflect.SendDir { s.errorf("range over send-only channel %v", val) break } i := 0 for ; ; i++ { elem, ok := val.Recv() if !ok { break } oneIteration(reflect.ValueOf(i), elem) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
src/reflect/all_test.go
// check construction and use of type not in binary type T string crt := ChanOf(RecvDir, TypeOf(T(""))) cst := ChanOf(SendDir, TypeOf(T(""))) // check that type already in binary is found type T1 int checkSameType(t, ChanOf(RecvDir, TypeOf(T1(1))), (<-chan T1)(nil)) checkSameType(t, ChanOf(SendDir, TypeOf(T1(1))), (chan<- T1)(nil)) // check String form of ChanDir if crt.ChanDir().String() != "<-chan" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
platforms/enterprise/enterprise-plugin-performance/src/templates/buildsrc-plugins/buildSrc/build.gradle
tasks.register('generatePluginSources') { inputs.property('pluginCount', pluginCount) def genDir = file("build/src/generated/java") outputs.dir genDir doLast { def packageDir = new File(genDir, "org/gradle/build/generated/") packageDir.mkdirs() (1..pluginCount).each { i ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 17 10:38:06 UTC 2023 - 2.7K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux.go
return nil } // removeEmptyDirs works backwards from endDir to baseDir and removes each directory // if it is empty. It stops once it encounters a directory that has content func removeEmptyDirs(baseDir, endDir string) error { if !mount.PathWithinBase(endDir, baseDir) { return fmt.Errorf("endDir %q is not within baseDir %q", endDir, baseDir) } for curDir := endDir; curDir != baseDir; curDir = filepath.Dir(curDir) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 12 14:09:11 UTC 2022 - 21.4K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux_test.go
baseDir string endDir string expectError bool }{ { name: "all-empty", prepare: func(base string) error { return os.MkdirAll(filepath.Join(base, "a/b/c"), defaultPerm) }, validate: func(base string) error { return validateDirEmpty(filepath.Join(base, "a")) }, baseDir: "a", endDir: "a/b/c", expectError: false, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:52:55 UTC 2021 - 37.3K bytes - Viewed (0)