Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for scandir (0.3 sec)

  1. cmd/metacache-walk.go

    			if sterr == nil && st.Mode().IsRegular() {
    				return errFileNotFound
    			}
    		}
    	}
    
    	prefix := opts.FilterPrefix
    	var scanDir func(path string) error
    
    	scanDir = func(current string) error {
    		// Skip forward, if requested...
    		sb := bytebufferpool.Get()
    		defer func() {
    			sb.Reset()
    			bytebufferpool.Put(sb)
    		}()
    
    		forward := ""
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

                           char*** entries, TF_Status* status) {
      struct dirent** dir_entries = nullptr;
      /* we don't promise entries would be sorted */
      int num_entries =
          scandir(path, &dir_entries, RemoveSpecialDirectoryEntries, nullptr);
      if (num_entries < 0) {
        TF_SetStatusFromIOError(status, errno, path);
      } else {
        *entries = static_cast<char**>(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    				return pkg, nil
    			}
    		}
    	}
    
    	info, err := context.ImportDir(dir, 0)
    	if err != nil {
    		if _, nogo := err.(*build.NoGoError); nogo {
    			return nil, err
    		}
    		log.Fatalf("pkg %q, dir %q: ScanDir: %v", name, dir, err)
    	}
    
    	// Save tags list first time we see a directory.
    	if usePkgCache {
    		if _, ok := pkgTags[dir]; !ok {
    			pkgTags[dir] = info.AllTags
    			key = tagKey(dir, context, info.AllTags)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    lean); public void setFollowSymlinks(boolean); public void setIncludes(String[]); public void setExcludes(String[]); public boolean isEverythingIncluded(); public void scan() throws IllegalStateExceptio; protected void slowScan(); protected void scandir(java.io.File, String, boolean); protected boolean isIncluded(String); protected boolean couldHoldIncluded(String); protected boolean isExcluded(String); protected boolean isSelected(String, java.io.File); public String[] getIncludedFiles(); public...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  5. internal/config/scanner/scanner.go

    	ExcessFolders    = "alert_excess_folders"
    	EnvExcessFolders = "MINIO_SCANNER_ALERT_EXCESS_FOLDERS"
    
    	// All below are deprecated in October 2022 and
    	// replaced them with a single speed parameter
    	Delay            = "delay"
    	MaxWait          = "max_wait"
    	Cycle            = "cycle"
    	EnvDelay         = "MINIO_SCANNER_DELAY"
    	EnvCycle         = "MINIO_SCANNER_CYCLE"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/data-scanner.go

    				BucketName: f.root,
    				Object: ObjectInfo{
    					Name: prefixName,
    					Size: int64(totalFolders),
    				},
    				UserAgent: "Scanner",
    				Host:      globalMinioHost,
    			})
    			auditLogInternal(context.Background(), AuditLogOptions{
    				Event:   "scanner:manyprefixes",
    				APIName: "Scanner",
    				Bucket:  f.root,
    				Object:  prefixName,
    				Tags: map[string]interface{}{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  7. .github/workflows/osv-scanner-scheduled.yml

    name: OSV-Scanner Scheduled Scan
    
    on:
      schedule:
        - cron: 0 4 * * 1
    
    permissions:
      # Require writing security events to upload SARIF file to security tab
      security-events: write
      # Only need to read contents
      contents: read
    
    jobs:
      scan-scheduled:
        if: github.repository == 'tensorflow/tensorflow'
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 06 17:09:49 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

            FileSource source = new FileSource(txtFile);
    
            try (InputStream is = source.getInputStream();
                    Scanner scanner = new Scanner(is)) {
    
                assertEquals("Hello World!", scanner.nextLine());
            }
        }
    
        @Test
        void testGetLocation() {
            File txtFile = new File("target/test-classes/source.txt");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. cmd/data-scanner_test.go

    Krishnan Parthasarathi <******@****.***> 1709356263 -0800
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/cmd/addr2line/addr2line_test.go

    	if err != nil {
    		t.Fatalf("%v: %v\n%s", cmd, err, string(out))
    	}
    	syms := make(map[string]string)
    	scanner := bufio.NewScanner(bytes.NewReader(out))
    	for scanner.Scan() {
    		f := strings.Fields(scanner.Text())
    		if len(f) < 3 {
    			continue
    		}
    		syms[f[2]] = f[0]
    	}
    	if err := scanner.Err(); err != nil {
    		t.Fatalf("error reading symbols: %v", err)
    	}
    	return syms
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top