Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for fish (0.12 sec)

  1. src/log/slog/doc.go

    so that existing applications that use [log.Printf] and related functions
    will send log records to the logger's handler without needing to be rewritten.
    
    Some attributes are common to many log calls.
    For example, you may wish to include the URL or trace identifier of a server request
    with all log events arising from the request.
    Rather than repeat the attribute with every log call, you can use [Logger.With]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 14:35:48 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/os/os_unix_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer d.Close()
    	fis, err := d.Readdir(2) // notably, greater than zero
    	if len(fis) == 0 && err == nil {
    		// This is what used to happen (Issue 16919)
    		t.Fatal("Readdir = empty slice & err == nil")
    	}
    	if len(fis) != 0 || err != io.EOF {
    		t.Errorf("Readdir = %d entries: %v; want 0, io.EOF", len(fis), err)
    		for i, fi := range fis {
    			t.Errorf("  entry[%d]: %q, %v", i, fi.Name(), fi.Mode())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:32:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/fsys/fsys.go

    			return nil, &fs.PathError{Op: "ReadDir", Path: dir, Err: errNotDir}
    		}
    		return nil, err
    	}
    
    	fis := make([]fs.FileInfo, 0, len(entries))
    	for _, entry := range entries {
    		info, err := entry.Info()
    		if err != nil {
    			continue
    		}
    		fis = append(fis, info)
    	}
    	return fis, nil
    }
    
    // ReadDir provides a slice of fs.FileInfo entries corresponding
    // to the overlaid files in the directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check_test.go

    func testDirFiles(t *testing.T, dir string, colDelta uint, manual bool) {
    	testenv.MustHaveGoBuild(t)
    	dir = filepath.FromSlash(dir)
    
    	fis, err := os.ReadDir(dir)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    
    	for _, fi := range fis {
    		path := filepath.Join(dir, fi.Name())
    
    		// If fi is a directory, its files make up a single package.
    		if fi.IsDir() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. src/go/types/check_test.go

    func testDirFiles(t *testing.T, dir string, manual bool) {
    	testenv.MustHaveGoBuild(t)
    	dir = filepath.FromSlash(dir)
    
    	fis, err := os.ReadDir(dir)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    
    	for _, fi := range fis {
    		path := filepath.Join(dir, fi.Name())
    
    		// If fi is a directory, its files make up a single package.
    		if fi.IsDir() {
    			testDir(t, path, manual)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // will be removed.
    //
    // Running this pass essentially has the effect of inlining the initializer
    // functions into the main graph. This is beneficial when we wish to find and
    // fetch the node that restores resources, after the ModuleOp has been exported
    // as GraphDef.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateMergeInitializerFunctionOpsToMainPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. LICENSE

    that version instead if you wish.)  Do not make any other change in
    these notices.
    
      Once this change is made in a given copy, it is irreversible for
    that copy, so the ordinary GNU General Public License applies to all
    subsequent copies and derivative works made from that copy.
    
      This option is useful when you wish to copy part of the code of
    the Library into a program that is not a library.
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

        }
    
        private
        fun loadSecretKeyFromExistingKeystore(keyStoreFile: File): SecretKey {
            logger.debug("Loading keystore from {}", keyStoreFile)
            keyStoreFile.inputStream().use { fis ->
                keyStore.load(fis, KEYSTORE_PASSWORD)
            }
            val entry = keyStore.getEntry(keyAlias, keyProtection) as KeyStore.SecretKeyEntry?
            if (entry != null) {
                return entry.secretKey.also {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            verifyTokenKeep(this::asListHtml);
            return asStream(file.getName()).contentTypeOctetStream().stream(out -> {
                try (FileInputStream fis = new FileInputStream(file)) {
                    out.write(fis);
                }
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final FileAccessForm form) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbCopyUtil.java

                }
            }
    
            try ( SmbFileHandleImpl sfd = src.openUnshared(0, SmbConstants.O_RDONLY, SmbConstants.FILE_SHARE_READ, SmbConstants.ATTR_NORMAL, 0);
                  SmbFileInputStream fis = new SmbFileInputStream(src, sh, sfd) ) {
                int attrs = src.getAttributes();
    
                try ( SmbFileHandleImpl dfd = openCopyTargetFile(dest, attrs, false);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
Back to top