Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,332 for cfiles (0.17 sec)

  1. cni/pkg/install/binaries.go

    import (
    	"os"
    	"path/filepath"
    
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // Copies/mirrors any files present in a single source dir to N number of target dirs
    // 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
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Dec 11 19:10:54 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/main/resources/fess_indices/fess_config.file_authentication/file_authentication.json

    Shinsuke Sugaya <******@****.***> 1638450896 +0900
    Json
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 644 bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/ClassPath.java

            File directory,
            String packagePrefix,
            Set<File> currentPath,
            ImmutableSet.Builder<ResourceInfo> builder)
            throws IOException {
          File[] files = directory.listFiles();
          if (files == null) {
            logger.warning("Cannot read directory " + directory);
            // IO error, just skip the directory
            return;
          }
          for (File f : files) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  4. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      private static File fullpath(String path) {
        return new File(new File(path).toURI());
      }
    
      private static URL makeJarUrlWithName(String name) throws IOException {
        /*
         * TODO: cpovirk - Use java.nio.file.Files.createTempDirectory instead of
         * c.g.c.io.Files.createTempDir?
         */
        File fullPath = new File(Files.createTempDir(), name);
        File jarFile = pickAnyJarFile();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    		}
    	}
    
    	filenames := append(append([]string{}, info.GoFiles...), info.CgoFiles...)
    
    	// Parse package files.
    	var files []*ast.File
    	for _, file := range filenames {
    		f, err := w.parseFile(dir, file)
    		if err != nil {
    			log.Fatalf("error parsing package %s: %s", name, err)
    		}
    		files = append(files, f)
    	}
    
    	// Type-check package files.
    	var sizes types.Sizes
    	if w.context != nil {
    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)
  6. tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_COPY_FILE_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_COPY_FILE_H_
    
    #include <sys/stat.h>
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  7. internal/ioutil/read_file.go

    	OsOpen = os.Open
    	// OsOpenFile allows overriding default function.
    	OsOpenFile = os.OpenFile
    )
    
    // ReadFileWithFileInfo reads the named file and returns the contents.
    // A successful call returns err == nil, not err == EOF.
    // Because ReadFile reads the whole file, it does not treat an EOF from Read
    // as an error to be reported.
    func ReadFileWithFileInfo(name string) ([]byte, fs.FileInfo, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 09 18:17:51 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    			}
    			if err := adbCopyTree(deviceCwd, importPath); err != nil {
    				return 0, err
    			}
    
    			// Copy .go files from the package.
    			goFiles, err := filepath.Glob("*.go")
    			if err != nil {
    				return 0, err
    			}
    			if len(goFiles) > 0 {
    				args := append(append([]string{"push"}, goFiles...), deviceCwd)
    				if err := adb(args...); err != nil {
    					return 0, err
    				}
    			}
    		}
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_TRUE(first_block);
      EXPECT_EQ(out.size(), block_size);
      // Reading at offset file_size + 4 will read the second block (since the read
      // at file_size + 4 = 28 will be aligned to an offset of 16) but will return
      // OutOfRange because the offset is past the end of the 24-byte file.
      Status status = ReadCache(&cache, "", file_size + 4, 4, &out);
      EXPECT_EQ(status.code(), error::OUT_OF_RANGE);
      EXPECT_TRUE(second_block);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  10. src/archive/tar/testdata/ustar-file-reg.tar

    Joe Tsai <******@****.***> 1443691829 -0700
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 06 04:31:26 GMT 2015
    - 1.5K bytes
    - Viewed (0)
Back to top