Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for progx (0.08 sec)

  1. src/regexp/backtrack.go

    // the backtracker using prog.
    func maxBitStateLen(prog *syntax.Prog) int {
    	if !shouldBacktrack(prog) {
    		return 0
    	}
    	return maxBacktrackVector / len(prog.Inst)
    }
    
    // shouldBacktrack reports whether the program is too
    // long for the backtracker to run.
    func shouldBacktrack(prog *syntax.Prog) bool {
    	return len(prog.Inst) <= maxBacktrackProg
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 17:25:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. src/packaging/rpm/init.d/fess

    fi
    
    exec="$FESS_HOME/bin/fess"
    prog="fess"
    pidfile="$PID_DIR/${prog}.pid"
    
    export FESS_TEMP_PATH
    export FESS_LOG_PATH
    export FESS_CONF_PATH
    export FESS_VAR_PATH
    export FESS_DICTIONARY_PATH
    export FESS_HEAP_SIZE
    export SEARCH_ENGINE_HOME
    export SEARCH_ENGINE_HTTP_URL
    export FESS_JAVA_OPTS
    export JAVA_HOME
    
    lockfile=/var/lock/subsys/$prog
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. test/crlf.go

    // Test source files and strings containing \r and \r\n.
    
    package main
    
    import (
    	"fmt"
    	"strings"
    )
    
    func main() {
    	prog = strings.Replace(prog, "BQ", "`", -1)
    	prog = strings.Replace(prog, "CR", "\r", -1)
    	fmt.Print(prog)
    }
    
    var prog = `
    package main
    CR
    
    import "fmt"
    
    var CR s = "hello\n" + CR
    	" world"CR
    
    var t = BQhelloCR
     worldBQ
    
    var u = BQhCReCRlCRlCRoCR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 20 15:45:43 UTC 2012
    - 782 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go

    	//
    	// Unfortunately, it provides no means of escaping interior quotation marks
    	// within that program name, and we have no way to report them here.
    	prog := args[0]
    	mustQuote := len(prog) == 0
    	for i := 0; i < len(prog); i++ {
    		c := prog[i]
    		if c <= ' ' || (c == '"' && i == 0) {
    			// Force quotes for not only the ASCII space and tab as described in the
    			// MSDN article, but also ASCII control characters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/gcflags_patterns.txt

    stderr 'link.* -X=x.y=z'
    
    # -ldflags applies to link of command
    go build -a -n -ldflags=-X=math.pi=3 my/cmd/prog
    stderr 'link.* -X=math.pi=3'
    
    # -ldflags applies to link of command even with strange directory name
    go build -a -n -ldflags=-X=math.pi=3 my/cmd/prog/
    stderr 'link.* -X=math.pi=3'
    
    # -ldflags applies to current directory
    cd my/cmd/prog
    go build -a -n -ldflags=-X=math.pi=3
    stderr 'link.* -X=math.pi=3'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. test/turing.go

    var p, pc int
    var a [30000]byte
    
    const prog = "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.!"
    
    func scan(dir int) {
    	for nest := dir; dir*nest > 0; pc += dir {
    		switch prog[pc+dir] {
    		case ']':
    			nest--
    		case '[':
    			nest++
    		}
    	}
    }
    
    func main() {
    	r := ""
    	for {
    		switch prog[pc] {
    		case '>':
    			p++
    		case '<':
    			p--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 893 bytes
    - Viewed (0)
  7. src/cmd/link/dwarf_test.go

    		t.Skipf("skipping on %s/%s: no DWARF symbol table in executables", runtime.GOOS, runtime.GOARCH)
    	}
    
    	t.Parallel()
    
    	for _, prog := range []string{"testprog", "testprogcgo"} {
    		prog := prog
    		expectDWARF := expectDWARF
    		if runtime.GOOS == "aix" && prog == "testprogcgo" {
    			extld := os.Getenv("CC")
    			if extld == "" {
    				extld = "gcc"
    			}
    			extldArgs, err := quoted.Split(extld)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/cover_test_localpkg_filepath.txt

    [short] skip
    
    # collect coverage profile in text format
    go test -coverprofile=blah.prof prog.go prog_test.go
    
    # should not contain cmd-line pseudo-import-path
    grep prog.go blah.prof
    grep $PWD blah.prof
    ! grep command-line-arguments blah.prof
    
    -- prog.go --
    package main
    
    func Mumble(x int) int {
    	if x < 0 {
    		return -x
    	}
    	return 42
    }
    
    func Grumble(y int) int {
    	return -y
    }
    
    func main() {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 01 14:11:54 UTC 2022
    - 571 bytes
    - Viewed (0)
  9. test/fixedbugs/bug031.go

    // run
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    prog := "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"+
    "xxxxxxxxxx"+
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"+
    "xxxxxxxxxxxxxxxxxxxxxx"+
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"+
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"+
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 802 bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/issue33808_test.go

    	"runtime"
    	"strings"
    	"testing"
    )
    
    const prog = `
    package main
    
    import "log"
    
    func main() {
    	log.Fatalf("HERE")
    }
    `
    
    func TestIssue33808(t *testing.T) {
    	if runtime.GOOS != "darwin" {
    		return
    	}
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    	t.Parallel()
    
    	dir := t.TempDir()
    
    	f := gobuild(t, dir, prog, "-ldflags=-linkmode=external")
    	f.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 08 20:03:01 UTC 2021
    - 792 bytes
    - Viewed (0)
Back to top