Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 174 for indir (0.24 sec)

  1. 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)
  2. 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)
  3. pkg/kubelet/container/testing/mockdirentry.go

    }
    
    // IsDir mocks base method.
    func (m *MockDirEntry) IsDir() bool {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "IsDir")
    	ret0, _ := ret[0].(bool)
    	return ret0
    }
    
    // IsDir indicates an expected call of IsDir.
    func (mr *MockDirEntryMockRecorder) IsDir() *gomock.Call {
    	mr.mock.ctrl.T.Helper()
    	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsDir", reflect.TypeOf((*MockDirEntry)(nil).IsDir))
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. 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)
  5. src/go/build/build.go

    	if f := ctxt.IsAbsPath; f != nil {
    		return f(path)
    	}
    	return filepath.IsAbs(path)
    }
    
    // isDir calls ctxt.IsDir (if not nil) or else uses os.Stat.
    func (ctxt *Context) isDir(path string) bool {
    	if f := ctxt.IsDir; f != nil {
    		return f(path)
    	}
    	fi, err := os.Stat(path)
    	return err == nil && fi.IsDir()
    }
    
    // hasSubdir calls ctxt.HasSubdir (if not nil) or else uses
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/Emitter.kt

                )
            }.toList()
    
        if (binDir != null) {
            writeFile(
                moduleFileFor(binDir, moduleName),
                moduleMetadataBytesFor(emittedClassNames)
            )
        }
    
        return emittedClassNames
    }
    
    
    internal
    fun IO.makeAccessorOutputDirs(srcDir: File, binDir: File?, packagePath: String) = io {
        srcDir.resolve(packagePath).mkdirs()
        binDir?.apply {
            resolve(packagePath).mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. src/reflect/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: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  8. cmd/sftp-server-driver.go

    					isDir: true,
    				}}, nil
    			}
    			return nil, err
    		}
    
    		isDir := strings.HasSuffix(objInfo.Key, SlashSeparator)
    		return listerAt{&minioFileInfo{
    			p:     pathClean(object),
    			info:  objInfo,
    			isDir: isDir,
    		}}, nil
    	}
    
    	return nil, NotImplemented{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. cmd/ftp-server-driver.go

    			return &minioFileInfo{
    				p:     pathClean(object),
    				info:  minio.ObjectInfo{Key: object},
    				isDir: true,
    			}, nil
    		}
    		return nil, err
    	}
    
    	isDir := strings.HasSuffix(objInfo.Key, SlashSeparator)
    	return &minioFileInfo{
    		p:     pathClean(object),
    		info:  objInfo,
    		isDir: isDir,
    	}, nil
    }
    
    // ListDir implements ftpDriver
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. cmd/metacache-entries.go

    	// Name should match...
    	if e.name != other.name {
    		if e.name < other.name {
    			return e, false
    		}
    		return other, false
    	}
    
    	if other.isDir() || e.isDir() {
    		if e.isDir() {
    			return e, other.isDir() == e.isDir()
    		}
    		return other, other.isDir() == e.isDir()
    	}
    	eVers, eErr := e.xlmeta()
    	oVers, oErr := other.xlmeta()
    	if eErr != nil || oErr != nil {
    		return nil, false
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top