Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 215 for fixwd (0.04 sec)

  1. src/syscall/pwd_plan9.go

    func Fixwd() {
    	wdmu.Lock()
    	defer wdmu.Unlock()
    	fixwdLocked()
    }
    
    func fixwdLocked() {
    	if !wdSet {
    		return
    	}
    	// always call chdir when getwd returns an error
    	wd, _ := getwd()
    	if wd == wdStr {
    		return
    	}
    	if err := chdir(wdStr); err != nil {
    		return
    	}
    }
    
    // If any of the paths is relative, call Fixwd and return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/syscall/syscall_plan9.go

    func Open(path string, mode int) (fd int, err error) {
    	if fixwd(path) {
    		defer runtime.UnlockOSThread()
    	}
    	return open(path, mode)
    }
    
    //sys	create(path string, mode int, perm uint32) (fd int, err error)
    
    func Create(path string, mode int, perm uint32) (fd int, err error) {
    	if fixwd(path) {
    		defer runtime.UnlockOSThread()
    	}
    	return create(path, mode, perm)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/cmd/fix/main_test.go

    		return
    	}
    
    	if fn == nil {
    		for _, fix := range fixes {
    			if fix.f(file) {
    				fixed = true
    			}
    		}
    	} else {
    		fixed = fn(file)
    	}
    
    	outb, err = gofmtFile(file)
    	if err != nil {
    		t.Errorf("printing: %v", err)
    		return
    	}
    
    	return string(outb), fixed, true
    }
    
    func TestRewrite(t *testing.T) {
    	// If cgo is enabled, enforce that cgo commands invoked by cmd/fix
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/WtpFacet.java

        public void setFacets(List<Facet> facets) {
            this.facets = facets;
        }
    
        @Override
        protected void load(Node xml) {
            NodeList fixed = (NodeList) xml.get("fixed");
            NodeList installed = (NodeList) xml.get("installed");
            for (Object n : fixed) {
                facets.add(new Facet((Node) n));
            }
            for (Object n : installed) {
                facets.add(new Facet((Node) n));
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. doc/next/1-intro.md

    <!--
    NOTE: In this document and others in this directory, the convention is to
    set fixed-width phrases with non-fixed-width spaces, as in
    `hello` `world`.
    -->
    
    <style>
      main ul li { margin: 0.5em 0; }
    </style>
    
    ## DRAFT RELEASE NOTES — Introduction to Go 1.23 {#introduction}
    
    **Go 1.23 is not yet released. These are work-in-progress release notes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:25:26 UTC 2024
    - 406 bytes
    - Viewed (0)
  6. releasenotes/notes/51289.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: installation
    issue:
      - https://github.com/istio/istio/issues/51289
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 01:52:23 UTC 2024
    - 216 bytes
    - Viewed (0)
  7. src/cmd/fix/buildtag.go

    	fixed := false
    	for _, g := range f.Comments {
    		sawGoBuild := false
    		for i, c := range g.List {
    			if strings.HasPrefix(c.Text, "//go:build ") {
    				sawGoBuild = true
    			}
    			if sawGoBuild && strings.HasPrefix(c.Text, "// +build ") {
    				g.List = g.List[:i]
    				fixed = true
    				break
    			}
    		}
    	}
    
    	return fixed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. doc/initial/1-intro.md

    <!--
    NOTE: In this document and others in this directory, the convention is to
    set fixed-width phrases with non-fixed-width spaces, as in
    `hello` `world`.
    -->
    
    <style>
      main ul li { margin: 0.5em 0; }
    </style>
    
    ## DRAFT RELEASE NOTES — Introduction to Go 1.N {#introduction}
    
    **Go 1.N is not yet released. These are work-in-progress release notes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:25:26 UTC 2024
    - 406 bytes
    - Viewed (0)
  9. .github/PULL_REQUEST_TEMPLATE.md

    - [ ] Ensure that tests pass locally: `./gradlew <changed-subproject>:quickTest`.
    
    ### Reviewing cheatsheet
    
    Before merging the PR, comments starting with 
    - ❌ ❓**must** be fixed
    - 🤔 💅 **should** be fixed
    - 💭 **may** be fixed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 13 22:36:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/cmd/fix/main.go

    		file = newFile
    		fmt.Fprintf(&fixlog, " fmt")
    	}
    
    	// Apply all fixes to file.
    	newFile := file
    	fixed := false
    	for _, fix := range fixes {
    		if allowed != nil && !allowed[fix.name] {
    			continue
    		}
    		if fix.disabled && !force[fix.name] {
    			continue
    		}
    		if fix.f(newFile) {
    			fixed = true
    			fmt.Fprintf(&fixlog, " %s", fix.name)
    
    			// AST changed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top