Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for statString (0.27 sec)

  1. src/cmd/go/internal/work/exec.go

    			s = "true"
    		}
    		cache.PutBytes(cache.Default(), flagID, []byte(s))
    	}
    
    	b.flagCache[key] = supported
    	return supported
    }
    
    // statString returns a string form of an os.FileInfo, for serializing and comparison.
    func statString(info os.FileInfo) string {
    	return fmt.Sprintf("stat %d %x %v %v\n", info.Size(), uint64(info.Mode()), info.ModTime(), info.IsDir())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/project/ProjectStateInternalSpec.groovy

        def "to string representation"() {
            expect:
            stateString {} == "NOT EXECUTED"
            stateString { toBeforeEvaluate() } == "EXECUTING"
            stateString { toBeforeEvaluate(); toEvaluate() } == "EXECUTING"
            stateString { toBeforeEvaluate(); toEvaluate(); toAfterEvaluate() } == "EXECUTING"
            stateString { configured() } == "EXECUTED"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:07 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/status/ready/probe.go

    	if p.NoEnvoy {
    		return nil
    	}
    	if p.Context == nil {
    		return p.checkEnvoyReadiness()
    	}
    	select {
    	case <-p.Context.Done():
    		return fmt.Errorf("server is not live, current state is: %s", StateString(Draining))
    	default:
    		return p.checkEnvoyReadiness()
    	}
    }
    
    func (p *Probe) checkEnvoyReadiness() error {
    	// If Envoy is ready at least once i.e. server state is LIVE and workers
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        HttpUrl requestUrl = mockWebServer.url(request.getPath());
        String code = requestUrl.queryParameter("code");
        String stateString = requestUrl.queryParameter("state");
        ByteString state = stateString != null ? ByteString.decodeBase64(stateString) : null;
    
        Listener listener;
        synchronized (this) {
          listener = listeners.get(state);
        }
    
        if (code == null || listener == null) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/print.go

    	}
    	io.WriteString(p.w, "\n")
    }
    
    func (p stringFuncPrinter) endBlock(b *Block, reachable bool) {
    	if !p.printDead && !reachable {
    		return
    	}
    	fmt.Fprintln(p.w, "    "+b.LongString())
    }
    
    func StmtString(p src.XPos) string {
    	linenumber := "(?) "
    	if p.IsKnown() {
    		pfx := ""
    		if p.IsStmt() == src.PosIsStmt {
    			pfx = "+"
    		}
    		if p.IsStmt() == src.PosNotStmt {
    			pfx = "-"
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/base/tool.go

    		SetExitStatus(2)
    		Exit()
    	}
    	return toolPath
    }
    
    // ToolPath returns the path at which we expect to find the named tool
    // (for example, "vet"), and the error (if any) from statting that path.
    func ToolPath(toolName string) (string, error) {
    	toolPath := filepath.Join(build.ToolDir, toolName) + cfg.ToolExeSuffix()
    	err := toolStatCache.Do(toolPath, func() error {
    		_, err := os.Stat(toolPath)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:04:09 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/start.go

    		return result
    	}
    
    	counter.Open()
    
    	if _, err := os.Stat(telemetry.Default.LocalDir()); err != nil {
    		// There was a problem statting LocalDir, which is needed for both
    		// crash monitoring and counter uploading. Most likely, there was an
    		// error creating telemetry.LocalDir in the counter.Open call above.
    		// Don't start the child.
    		return result
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/debug.go

    	endState := stateAtPC{slots: make([]VarLoc, len(s.slots)), registers: make([][]SlotID, len(s.registers))}
    	endState.reset(b.endState)
    	return s.stateString(endState)
    }
    
    func (s *debugState) stateString(state stateAtPC) string {
    	var strs []string
    	for slotID, loc := range state.slots {
    		if !loc.absent() {
    			strs = append(strs, fmt.Sprintf("\t%v = %v\n", s.slots[slotID], s.LocString(loc)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/query.go

    // newQueryMatcher returns a new queryMatcher that matches the versions
    // specified by the given query on the module with the given path.
    //
    // If the query can only be resolved by statting a non-SemVer revision,
    // newQueryMatcher returns errRevQuery.
    func newQueryMatcher(path string, query, current string, allowed AllowedFunc) (*queryMatcher, error) {
    	badVersion := func(v string) (*queryMatcher, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/jquery-3.6.3.min.map

    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 135.2K bytes
    - Viewed (0)
Back to top