Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. .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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 02:07:46 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  6. 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)
  7. doc/go_spec.html

    FieldName     = identifier .
    Element       = Expression | LiteralValue .
    </pre>
    
    <p>
    The LiteralType's <a href="#Core_types">core type</a> <code>T</code>
    must be a struct, array, slice, or map type
    (the syntax 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 type <code>T</code>;
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg syscall (linux-386), const MCL_CURRENT = 1
    pkg syscall (linux-386), const MCL_FUTURE = 2
    pkg syscall (linux-386), const MNT_DETACH = 2
    pkg syscall (linux-386), const MNT_EXPIRE = 4
    pkg syscall (linux-386), const MNT_FORCE = 1
    pkg syscall (linux-386), const MSG_CMSG_CLOEXEC = 1073741824
    pkg syscall (linux-386), const MSG_CONFIRM = 2048
    pkg syscall (linux-386), const MSG_CTRUNC = 8
    pkg syscall (linux-386), const MSG_DONTROUTE = 4
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. LICENSE

    copyright notice, this list of conditions and the following disclaimer
    in the documentation and/or other materials provided with the
    distribution.
       * Neither the name of Google Inc. nor the names of its
    contributors may be used to endorse or promote products derived from
    this software without specific prior written permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 01 22:40:04 GMT 2016
    - 1.4K bytes
    - Viewed (0)
  10. api/go1.2.txt

    pkg syscall (linux-arm-cgo), const MCL_FUTURE ideal-int
    pkg syscall (linux-arm-cgo), const MNT_DETACH ideal-int
    pkg syscall (linux-arm-cgo), const MNT_EXPIRE ideal-int
    pkg syscall (linux-arm-cgo), const MNT_FORCE ideal-int
    pkg syscall (linux-arm-cgo), const MSG_CMSG_CLOEXEC ideal-int
    pkg syscall (linux-arm-cgo), const MSG_CONFIRM ideal-int
    pkg syscall (linux-arm-cgo), const MSG_CTRUNC ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
Back to top