Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 422 for begins (2.2 sec)

  1. src/go/doc/example.go

    func exampleOutput(b *ast.BlockStmt, comments []*ast.CommentGroup) (output string, unordered, ok bool) {
    	if _, last := lastComment(b, comments); last != nil {
    		// test that it begins with the correct prefix
    		text := last.Text()
    		if loc := outputPrefix.FindStringSubmatchIndex(text); loc != nil {
    			if loc[2] != -1 {
    				unordered = true
    			}
    			text = text[loc[1]:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. src/regexp/exec_test.go

    //
    //	strings
    //	"abc"
    //	"123x"
    //	regexps
    //	"[a-z]+"
    //	0-3;0-3
    //	-;-
    //	"([0-9])([0-9])([0-9])"
    //	-;-
    //	-;0-3 0-1 1-2 2-3
    //
    // The stanza begins by defining a set of strings, quoted
    // using Go double-quote syntax, one per line. Then the
    // regexps section gives a sequence of regexps to run on
    // the strings. In the block that follows a regexp, each line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. pkg/controller/deployment/deployment_controller.go

    	dc.dListerSynced = dInformer.Informer().HasSynced
    	dc.rsListerSynced = rsInformer.Informer().HasSynced
    	dc.podListerSynced = podInformer.Informer().HasSynced
    	return dc, nil
    }
    
    // Run begins watching and syncing.
    func (dc *DeploymentController) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    
    	// Start events processing pipeline.
    	dc.eventBroadcaster.StartStructuredLogging(3)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. src/flag/flag_test.go

    		}
    	}()
    	f()
    }
    
    func TestInvalidFlags(t *testing.T) {
    	tests := []struct {
    		flag     string
    		errorMsg string
    	}{
    		{
    			flag:     "-foo",
    			errorMsg: "flag \"-foo\" begins with -",
    		},
    		{
    			flag:     "foo=bar",
    			errorMsg: "flag \"foo=bar\" contains =",
    		},
    	}
    
    	for _, test := range tests {
    		testName := fmt.Sprintf("FlagSet.Var(&v, %q, \"\")", test.flag)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    	// we explicitly shut it down on stopCh signal even if it wasn't
    	// effectively started.
    	go evaluator.shutdownOnStop()
    
    	return evaluator
    }
    
    // start begins watching and syncing.
    func (e *quotaEvaluator) start() {
    	defer utilruntime.HandleCrash()
    
    	for i := 0; i < e.workers; i++ {
    		go wait.Until(e.doWork, time.Second, e.stopCh)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/rsc.io/markdown/link.go

    				break
    			}
    			if s[j] == '\\' && j+1 < len(s) {
    				j++
    			}
    		}
    	}
    	return "", 0, 0, false
    }
    
    func parseLinkLabel(p *parseState, s string, i int) (string, int, bool) {
    	// “A link label begins with a left bracket ([) and ends with
    	// the first right bracket (]) that is not backslash-escaped.
    	// Between these brackets there must be at least one character
    	// that is not a space, tab, or line ending.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    	return x.Pos, x.Pos.add(")")
    }
    
    // An input represents a single input file being parsed.
    type input struct {
    	// Lexing state.
    	filename   string    // name of input file, for errors
    	complete   []byte    // entire input
    	remaining  []byte    // remaining input
    	tokenStart []byte    // token being scanned to end of input
    	token      token     // next token to be returned by lex, peek
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/buildid.go

    				// contain arbitrary substrings.
    				break
    			}
    			if field == "version" && i < len(fields)-1 {
    				// Check that the next field is plausibly a version number.
    				// We require only that it begins with an ASCII digit,
    				// since we don't know what version numbering schemes a given
    				// C compiler may use. (Clang and GCC mostly seem to follow the scheme X.Y.Z,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. cmd/utils.go

    func unwrapAll(err error) error {
    	for {
    		werr := errors.Unwrap(err)
    		if werr == nil {
    			return err
    		}
    		err = werr
    	}
    }
    
    // stringsHasPrefixFold tests whether the string s begins with prefix ignoring case.
    func stringsHasPrefixFold(s, prefix string) bool {
    	// Test match with case first.
    	return len(s) >= len(prefix) && (s[0:len(prefix)] == prefix || strings.EqualFold(s[0:len(prefix)], prefix))
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-agent/status/server.go

    	return fmt.Sprintf("/app-health/%v/readyz", container),
    		fmt.Sprintf("/app-health/%v/livez", container),
    		fmt.Sprintf("/app-health/%v/startupz", container)
    }
    
    // Run opens a the status port and begins accepting probes.
    func (s *Server) Run(ctx context.Context) {
    	log.Infof("Opening status port %d", s.statusPort)
    
    	mux := http.NewServeMux()
    
    	// Add the handler for ready probes.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
Back to top