- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 125 for indir (0.05 sec)
-
src/encoding/gob/encode.go
// encoded integer, followed by the field data in its appropriate // format. // encIndirect dereferences pv indir times and returns the result. func encIndirect(pv reflect.Value, indir int) reflect.Value { for ; indir > 0; indir-- { if pv.IsNil() { break } pv = pv.Elem() } return pv } // encBool encodes the bool referenced by v as an unsigned 0 or 1.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 19K bytes - Viewed (0) -
src/encoding/gob/type.go
} if ut.indir%2 == 0 { slowpoke = slowpoke.Elem() } ut.indir++ } if ok, indir := implementsInterface(ut.user, gobEncoderInterfaceType); ok { ut.externalEnc, ut.encIndir = xGob, indir } else if ok, indir := implementsInterface(ut.user, binaryMarshalerInterfaceType); ok { ut.externalEnc, ut.encIndir = xBinary, indir }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/runtime/cgocall.go
// is either a pointer to the value (of type t), or the value itself, // depending on indir. The top parameter is whether we are at the top // level, where Go pointers are allowed. Go pointers to pinned objects are // allowed as long as they don't reference other unpinned pointers. func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) { if !t.Pointers() || p == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy
@Requires(UnitTestPreconditions.FilePermissions) def "stat a file in an unreadable directory"() { def unreadableDir = tmpDir.createDir("unreadableDir") def fileInDir = unreadableDir.createFile("inDir") unreadableDir.makeUnreadable() expect: def stat = accessor.stat(fileInDir) stat.type == FileType.RegularFile assertSameLastModified(stat, fileInDir)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 6.9K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
} dir = filepath.Clean(dir) if rel := search.InDir(dir, cfg.BuildContext.GOROOT); rel != "" { // Don't suggest creating a module from $GOROOT/.git/config // or a config file found in any parent of $GOROOT (see #34191). return "", "" } for { for _, name := range altConfigs { if fi, err := fsys.Stat(filepath.Join(dir, name)); err == nil && !fi.IsDir() { return dir, name } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
src/internal/reflectlite/value.go
t := v.typ() var i any e := (*abi.EmptyInterface)(unsafe.Pointer(&i)) // First, fill in the data portion of the interface. switch { case t.IfaceIndir(): if v.flag&flagIndir == 0 { panic("bad indir") } // Value is indirect, and so is the interface we're making. ptr := v.ptr if v.flag&flagAddr != 0 { c := unsafe_New(t) typedmemmove(t, c, ptr) ptr = c } e.Data = ptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 13.6K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
} modRoot := findModuleRoot(absDir) found := false for _, mainModuleRoot := range modRoots { if mainModuleRoot == modRoot { found = true break } } if !found && search.InDir(absDir, cfg.GOROOTsrc) == "" && pathInModuleCache(ctx, absDir, rs) == "" { m.Dirs = []string{} scope := "main module or its selected dependencies" if inWorkspaceMode() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
} if a.Package.Root == "" || search.InDir(name, a.Package.Root) == "" { // Do not recheck files outside the module, GOPATH, or GOROOT root. break } fmt.Fprintf(h, "stat %s %x\n", name, hashStat(name)) case "open": if !filepath.IsAbs(name) { name = filepath.Join(pwd, name) } if a.Package.Root == "" || search.InDir(name, a.Package.Root) == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/cmd/go/go_test.go
work.AllowInstall = func(a *work.Action) error { if cfg.BuildN { return nil } rel := search.InDir(a.Target, testGOROOT) if rel == "" { return nil } callerPos := "" if _, file, line, ok := runtime.Caller(1); ok { if shortFile := search.InDir(file, filepath.Join(testGOROOT, "src")); shortFile != "" { file = shortFile }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
}, // ListObjectsResult-27. // Prefix is set to "Asia/India/" in the testCase, and delimiter is set to forward slash '/' (testCase 59). 27: { IsTruncated: false, Objects: []ObjectInfo{ {Name: "Asia/India/India-summer-photos-1"}, }, Prefixes: []string{"Asia/India/Karnataka/"}, }, // ListObjectsResult-28. // Marker is set to "Asia/India/India-summer-photos-1" and delimiter set in the testCase, (testCase 60).
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 11:07:40 UTC 2024 - 73.1K bytes - Viewed (0)