Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 534 for Opened (0.11 sec)

  1. src/internal/poll/fd_wasip1.go

    			return 0, err
    		}
    		fileType = stat.Filetype
    		atomic.StoreUint32(&fd.Filetype, uint32(fileType))
    	}
    
    	if fileType == syscall.FILETYPE_DIRECTORY {
    		// If the file descriptor is opened on a directory, we reset the readdir
    		// cookie when seeking back to the beginning to allow reusing the file
    		// descriptor to scan the directory again.
    		if offset == 0 && whence == 0 {
    			fd.Dircookie = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_overlay.txt

    cd $WORK/gopath/src/overlay-and-dash-modfile
    go list -modfile=alternate.mod -overlay overlay.json .
    stdout 'found.the/module'
    # Even with -modfile, overlaid files can't be opened for write.
    ! go get -modfile=alternate.mod -overlay overlay.json rsc.io/quote
    stderr '^go: updates to go.mod needed, but go.mod is part of the overlay specified with -overlay$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 7.7K bytes
    - Viewed (0)
  3. src/os/fifo_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer f.Close()
    	nonblock, err := unix.IsNonblock(int(f.Fd()))
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !nonblock {
    		t.Errorf("file opened with O_NONBLOCK but in blocking mode")
    	}
    }
    
    func TestNewFileNonBlocking(t *testing.T) {
    	var p [2]int
    	if err := syscall.Pipe(p[:]); err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:47:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. src/log/slog/handler.go

    	// A group will appear here when a call to WithGroup is followed by
    	// a call to WithAttrs.
    	groupPrefix string
    	groups      []string // all groups started from WithGroup
    	nOpenGroups int      // the number of groups opened in preformattedAttrs
    	mu          *sync.Mutex
    	w           io.Writer
    }
    
    func (h *commonHandler) clone() *commonHandler {
    	// We can't use assignment because we can't copy the mutex.
    	return &commonHandler{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformReplacer.java

                }
            }
    
            @Override
            public synchronized void close() {
                // Not calling getJarFileLocked intentionally, to avoid opening the JAR if it isn't opened yet.
                IoActions.closeQuietly(jarFile);
            }
    
            private JarFile getJarFileLocked() throws IOException {
                ensureOpened();
                if (jarFile == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns.go

    	if err != nil {
    		return nil, err
    	}
    
    	desiredUIDs := sets.New(maps.Keys(pods)...)
    	for _, entry := range entries {
    		// we can't break here because we need to close all the netns we opened
    		// plus we want to return whatever we can to the user.
    		res, err := p.processEntry(p.proc, netnsObserved, desiredUIDs, entry)
    		if err != nil {
    			log.Debugf("error processing entry: %s %v", entry.Name(), err)
    			continue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/EvaluationContext.java

            /**
             * Returns the owner of the current scope, which is the last object that started its evaluation.
             * Can be null if the current scope has no owner (e.g. a just opened nested context).
             *
             * @return the owner
             */
            @Nullable
            EvaluationOwner getOwner();
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 12.2K bytes
    - Viewed (1)
  8. src/cmd/go/internal/web/api.go

    func Get(security SecurityMode, u *url.URL) (*Response, error) {
    	return get(security, u)
    }
    
    // OpenBrowser attempts to open the requested URL in a web browser.
    func OpenBrowser(url string) (opened bool) {
    	return openBrowser(url)
    }
    
    // Join returns the result of adding the slash-separated
    // path elements to the end of u's path.
    func Join(u *url.URL, path string) *url.URL {
    	j := *u
    	if path == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  9. src/path/filepath/match.go

    		}
    		return vollen, path[0 : len(path)-1] // chop off trailing separator
    	}
    }
    
    // glob searches for files matching pattern in the directory dir
    // and appends them to matches. If the directory cannot be
    // opened, it returns the existing matches. New matches are
    // added in lexicographical order.
    func glob(dir, pattern string, matches []string) (m []string, e error) {
    	m = matches
    	fi, err := os.Stat(dir)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/testing/fstest/testfs.go

    // checkBadPath checks that various invalid forms of file's name cannot be opened using t.fsys.Open.
    func (t *fsTester) checkOpen(file string) {
    	t.checkBadPath(file, "Open", func(file string) error {
    		f, err := t.fsys.Open(file)
    		if err == nil {
    			f.Close()
    		}
    		return err
    	})
    }
    
    // checkBadPath checks that various invalid forms of file's name cannot be opened using open.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top