Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for enforce (0.37 sec)

  1. .github/PULL_REQUEST_TEMPLATE

    + If referring to a repo other than `golang/go` you can use the
      `owner/repo#issue_number` syntax: `Fixes golang/tools#1234`
    + We do not use Signed-off-by lines in Go. Please don't add them.
      Our Gerrit server & GitHub bots enforce CLA compliance instead.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Feb 21 02:07:46 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  2. src/bootstrap.bash

    # to generate bootstrap tgz files for builders.
    
    set -e
    
    if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then
    	echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2
    	exit 2
    fi
    
    forceflag=""
    if [ "$1" = "-force" ]; then
    	forceflag=-force
    	shift
    fi
    
    targ="../../go-${GOOS}-${GOARCH}-bootstrap"
    if [ -e $targ ]; then
    	echo "$targ already exists; remove before continuing"
    	exit 2
    fi
    
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. src/arena/arena.go

    memory regions until the garbage collector is able to determine that it is
    safe. Typically, a use-after-free bug will result in a fault and a helpful
    error message, but this package reserves the right to not force a fault on
    freed memory. That means a valid implementation of this package is to just
    allocate all memory the way the runtime normally would, and in fact, it
    reserves the right to occasionally do so for some Go values.
    */
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/callback.go

    		c <- int(C.returnAfterGrowFromGo())
    	}()
    	if got, want := <-c, 129*128/2; got != want {
    		t.Errorf("got %d want %d", got, want)
    	}
    }
    
    //export goReturnVal
    func goReturnVal() (r C.int) {
    	// Force a stack copy.
    	var f func(int) int
    	f = func(i int) int {
    		var buf [256]byte
    		use(buf[:])
    		if i == 0 {
    			return 0
    		}
    		return i + f(i-1)
    	}
    	r = C.int(f(128))
    	return
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    FieldName     = identifier .
    Element       = Expression | LiteralValue .
    </pre>
    
    <p>
    The LiteralType's underlying type must be a struct, array, slice, or map type
    (the grammar enforces this constraint except when the type is given
    as a TypeName).
    The types of the elements and keys must be <a href="#Assignability">assignable</a>
    to the respective field, element, and key types of the literal type;
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. src/archive/tar/reader_test.go

    		// GNU and BSD tar utilities.
    		// The archive generated by GNU is nearly byte-for-byte identical
    		// to the Go version except the Go version sets a negative Devminor
    		// just to force the GNU format.
    		file: "testdata/gnu-utf8.tar",
    		headers: []*Header{{
    			Name: "☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹",
    			Mode: 0644,
    			Uid:  1000, Gid: 1000,
    			ModTime:  time.Unix(0, 0),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	nargs := make([]string, 0, len(args)+len(extraArgs))
    	for _, arg := range args {
    		if !strings.HasPrefix(arg, "-O") {
    			nargs = append(nargs, arg)
    		}
    	}
    
    	// Force -O0 optimization and append extra arguments, but keep the
    	// trailing "-" at the end.
    	li := len(nargs) - 1
    	last := nargs[li]
    	nargs[li] = "-O0"
    	nargs = append(nargs, extraArgs...)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg syscall (linux-386), const MCL_FUTURE ideal-int
    pkg syscall (linux-386), const MNT_DETACH ideal-int
    pkg syscall (linux-386), const MNT_EXPIRE ideal-int
    pkg syscall (linux-386), const MNT_FORCE ideal-int
    pkg syscall (linux-386), const MSG_CMSG_CLOEXEC ideal-int
    pkg syscall (linux-386), const MSG_CONFIRM ideal-int
    pkg syscall (linux-386), const MSG_CTRUNC ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  9. doc/asm.html

    (The meaning of the offset—offset from the frame pointer—distinct
    from its use with <code>SB</code>, where it is an offset from the symbol.)
    The assembler enforces this convention, rejecting plain <code>0(FP)</code> and <code>8(FP)</code>.
    The actual name is semantically irrelevant but should be used to document
    the argument's name.
    It is worth stressing that <code>FP</code> is always a
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    	case n == 1:
    		return IndexByte(s, sep[0])
    	case n == len(s):
    		if Equal(sep, s) {
    			return 0
    		}
    		return -1
    	case n > len(s):
    		return -1
    	case n <= bytealg.MaxLen:
    		// Use brute force when s and sep both are small
    		if len(s) <= bytealg.MaxBruteForce {
    			return bytealg.Index(s, sep)
    		}
    		c0 := sep[0]
    		c1 := sep[1]
    		i := 0
    		t := len(s) - n + 1
    		fails := 0
    		for i < t {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top