Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 42 of 42 for 1011 (0.03 sec)

  1. src/os/os_test.go

    	}
    }
    
    func TestStatDirModeExec(t *testing.T) {
    	if runtime.GOOS == "wasip1" {
    		t.Skip("Chmod is not supported on " + runtime.GOOS)
    	}
    	t.Parallel()
    
    	const mode = 0111
    
    	path := t.TempDir()
    	if err := Chmod(path, 0777); err != nil {
    		t.Fatalf("Chmod %q 0777: %v", path, err)
    	}
    
    	dir, err := Stat(path)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	}
    	val := 0
    	for len(st.str) > 0 && isDigit(st.str[0]) {
    		// Number picked to ensure we can't overflow with 32-bit int.
    		// Any very large number here is bogus.
    		if val >= 0x80000000/10-10 {
    			st.fail("numeric overflow")
    		}
    		val = val*10 + int(st.str[0]-'0')
    		st.advance(1)
    	}
    	if neg {
    		val = -val
    	}
    	return val
    }
    
    // seqID parses:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
Back to top