Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for run1 (0.07 sec)

  1. src/regexp/syntax/parse.go

    	p.numRunes += len(re.Rune)
    	if re.Op == OpCharClass && len(re.Rune) == 2 && re.Rune[0] == re.Rune[1] {
    		// Single rune.
    		if p.maybeConcat(re.Rune[0], p.flags&^FoldCase) {
    			return nil
    		}
    		re.Op = OpLiteral
    		re.Rune = re.Rune[:1]
    		re.Flags = p.flags &^ FoldCase
    	} else if re.Op == OpCharClass && len(re.Rune) == 4 &&
    		re.Rune[0] == re.Rune[1] && re.Rune[2] == re.Rune[3] &&
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    	}
    
    	// 5. Drop
    	dropNotLatin := func(r rune) rune {
    		if unicode.Is(unicode.Latin, r) {
    			return r
    		}
    		return -1
    	}
    	m = Map(dropNotLatin, []byte("Hello, 세계"))
    	expect = "Hello"
    	if string(m) != expect {
    		t.Errorf("drop: expected %q got %q", expect, m)
    	}
    
    	// 6. Invalid rune
    	invalidRune := func(r rune) rune {
    		return utf8.MaxRune + 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. src/strings/strings_test.go

    	{"x \xc0\xc0 ", "x \xc0\xc0"},
    	{"x ☺\xc0\xc0 ", "x ☺\xc0\xc0"},
    	{"x ☺ ", "x ☺"},
    }
    
    func tenRunes(ch rune) string {
    	r := make([]rune, 10)
    	for i := range r {
    		r[i] = ch
    	}
    	return string(r)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	step := rune(13)
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    	if r >= 'A' && r <= 'Z' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  4. src/cmd/internal/testdir/testdir_test.go

    	var args []string
    	arg := make([]rune, len(s))
    	escaped := false
    	quoted := false
    	quote := '\x00'
    	i := 0
    	for _, rune := range s {
    		switch {
    		case escaped:
    			escaped = false
    		case rune == '\\':
    			escaped = true
    			continue
    		case quote != '\x00':
    			if rune == quote {
    				quote = '\x00'
    				continue
    			}
    		case rune == '"' || rune == '\'':
    			quoted = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. src/testing/testing.go

    //
    //	go test -run ''        # Run all tests.
    //	go test -run Foo       # Run top-level tests matching "Foo", such as "TestFooBar".
    //	go test -run Foo/A=    # For top-level tests matching "Foo", run subtests matching "A=".
    //	go test -run /A=1      # For all top-level tests, run subtests matching "A=1".
    //	go test -fuzz FuzzFoo  # Fuzz the target matching "FuzzFoo"
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  6. src/cmd/go/go_test.go

    	tg.run("env", "GCCGO")
    	tg.grepStdout(".", "GCCGO unexpectedly empty")
    
    	tg.run("env", "CGO_CFLAGS")
    	tg.grepStdout(".", "default CGO_CFLAGS unexpectedly empty")
    
    	tg.setenv("CGO_CFLAGS", "-foobar")
    	tg.run("env", "CGO_CFLAGS")
    	tg.grepStdout("^-foobar$", "CGO_CFLAGS not honored")
    
    	tg.setenv("CC", "gcc -fmust -fgo -ffaster")
    	tg.run("env", "CC")
    	tg.grepStdout("gcc", "CC not found")
    	tg.run("env", "GOGCCFLAGS")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            assertTasksReadyAndNoMoreToStart(finalizer1, finalizer2)
            assertAllWorkComplete()
        }
    
        def "dependency of multiple finalizers runs after the first task to be finalized when one finalizer does not run"() {
            given:
            Task finalizerDepDep = task("finalizerDepDep", type: Async)
            Task finalizerDep1 = task("finalizerDep1", type: Async, dependsOn: [finalizerDepDep])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  8. hack/local-up-cluster.sh

      echo "Run this script again with START_MODE=kubeletonly to run a kubelet"
    fi
    
    if [[ "${START_MODE}" != "kubeletonly" ]]; then
      echo
      if [[ "${ENABLE_DAEMON}" = false ]]; then
        echo "To start using your cluster, you can open up another terminal/tab and run:"
      else
        echo "To start using your cluster, run:"
      fi
      cat <<EOF
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/runtime/framework.go

    	var status *framework.Status
    
    	podsAdded := false
    	// We run filters twice in some cases. If the node has greater or equal priority
    	// nominated pods, we run them when those pods are added to PreFilter state and nodeInfo.
    	// If all filters succeed in this pass, we run them again when these
    	// nominated pods are not added. This second pass is necessary because some
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformBuildOperationIntegrationTest.groovy

            when:
            withBuildCache().run ":consumer:resolve", "-DproducerContent=initial"
            then:
            executedAndNotSkipped(":consumer:resolve")
    
            outputDoesNotContain("processing [producer.jar]")
            checkExecuteTransformWorkOperations(getExecutePlannedStepOperations(1).first(), ["UP-TO-DATE"])
    
            when:
            withBuildCache().run ":consumer:resolve", "-DproducerContent=changed"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 67.8K bytes
    - Viewed (0)
Back to top