- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for readSid (0.22 sec)
-
cmd/batch-job-common-types_gen.go
if err != nil { err = msgp.WrapError(err, "SmallerThan") return } z.SmallerThan = nil } else { if z.SmallerThan == nil { z.SmallerThan = new(string) } *z.SmallerThan, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "SmallerThan") return } } case "SkipErrs": if dc.IsNil() { err = dc.ReadNil()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 21.9K bytes - Viewed (0) -
cmd/storage-rest-common_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 7.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
synchronized (world) { String realmId = id; Random random = new Random(); while (true) { try { ClassRealm classRealm = world.newRealm(realmId, null); logger.debug("Created new class realm {}", realmId); return classRealm;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
cni/pkg/install/binaries.go
// and returns a set of the filenames copied. func copyBinaries(srcDir string, targetDirs []string) (sets.String, error) { copiedFilenames := sets.String{} srcFiles, err := os.ReadDir(srcDir) if err != nil { return copiedFilenames, err } for _, f := range srcFiles { if f.IsDir() { continue } filename := f.Name() srcFilepath := filepath.Join(srcDir, filename)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 1.5K bytes - Viewed (0) -
cmd/is-dir-empty_linux.go
func isDirEmpty(dirname string, legacy bool) bool { if legacy { // On filesystems such as btrfs, nfs this is not true, so fallback // to performing readdir() instead. entries, err := readDirN(dirname, 1) if err != nil { return false } return len(entries) == 0 } var stat syscall.Stat_t if err := syscall.Stat(dirname, &stat); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 15:17:08 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/os_other.go
if osErrToFileErr(err) == errFileNotFound { return nil } return osErrToFileErr(err) } defer d.Close() maxEntries := 1000 for { // Read up to max number of entries. fis, err := d.Readdir(maxEntries) if err != nil { if err == io.EOF { break } err = osErrToFileErr(err) if err == errFileNotFound { return nil } return err } for _, fi := range fis {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 13 15:14:36 UTC 2023 - 4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
private CoreExtensionEntry createExtension(CoreExtension extension, List<Artifact> artifacts) throws Exception { String realmId = "coreExtension>" + extension.getGroupId() + ":" + extension.getArtifactId() + ":" + extension.getVersion(); final ClassRealm realm = classWorld.newRealm(realmId, null); Set<String> providedArtifacts = Collections.emptySet();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.2K bytes - Viewed (0) -
cni/test/install_cni.go
t.Fatalf("Couldn't get current working directory, err: %v", err) } t.Logf("Created temporary dir: %v", tempDir) return tempDir } func ls(dir string, t *testing.T) []string { files, err := os.ReadDir(dir) t.Helper() if err != nil { t.Fatalf("Failed to list files, err: %v", err) } return slices.Map(files, func(e os.DirEntry) string { return e.Name() }) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 11.3K bytes - Viewed (0) -
internal/store/queuestore.go
// list will read all entries from disk. // Entries are returned sorted by modtime, oldest first. // Underlying entry list in store is *not* updated. func (store *QueueStore[_]) list() ([]os.DirEntry, error) { files, err := os.ReadDir(store.directory) if err != nil { return nil, err } // Sort the entries. sort.Slice(files, func(i, j int) bool { ii, err := files[i].Info() if err != nil { return false }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.6K bytes - Viewed (0) -
cmd/batch-handlers_gen.go
return } case "Started": z.Started, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "Started") return } case "Replicate": if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "Replicate") return } z.Replicate = nil } else { if z.Replicate == nil { z.Replicate = new(BatchJobReplicateV1) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 20.4K bytes - Viewed (0)