Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Towers (0.22 sec)

  1. doc/go1.17_spec.html

    </pre>
    
    <p>
    Examples of valid array, slice, and map literals:
    </p>
    
    <pre>
    // list of prime numbers
    primes := []int{2, 3, 5, 7, 9, 2147483647}
    
    // vowels[ch] is true if ch is a vowel
    vowels := [128]bool{'a': true, 'e': true, 'i': true, 'o': true, 'u': true, 'y': true}
    
    // the array [10]float32{-1, 0, 0, 0, -0.1, -0.1, 0, 0, 0, -1}
    filter := [10]float32{-1, 4: -0.1, -0.1, 9: -1}
    
    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)
  2. src/cmd/cgo/doc.go

    declarations and definitions. These may then be referred to from Go
    code as though they were defined in the package "C". All names
    declared in the preamble may be used, even if they start with a
    lower-case letter. Exception: static variables in the preamble may
    not be referenced from Go code; static functions are permitted.
    
    See $GOROOT/cmd/cgo/internal/teststdio and $GOROOT/misc/cgo/gmp for examples. See
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// Hex constant 0x20004000000
    	MOVD $2199090364416, R5         // 60058001
    	// Hex constant 0xFFFFFE0004000000
    	MOVD $-2198956146688, R5        // 38a08001
    	// TODO: On GOPPC64={power8,power9}, this is preprocessed into MOVD $-1, R5; RLDC R5, $33, $63, R5.
    	//       This only captures the MOVD. Should the RLDC be appended to the encoding by the test?
    	// Hex constant 0xFFFFFFFE00000001
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  4. src/archive/zip/zip_test.go

    			rp = &r.buf[len(r.buf)-1]
    		} else {
    			rp.n++
    		}
    	}
    	return len(p), nil
    }
    
    func memset(a []byte, b byte) {
    	if len(a) == 0 {
    		return
    	}
    	// Double, until we reach power of 2 >= len(a), same as bytes.Repeat,
    	// but without allocation.
    	a[0] = b
    	for i, l := 1, len(a); i < l; i *= 2 {
    		copy(a[i:], a[:i])
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. doc/go_spec.html

    </pre>
    
    <p>
    Examples of valid array, slice, and map literals:
    </p>
    
    <pre>
    // list of prime numbers
    primes := []int{2, 3, 5, 7, 9, 2147483647}
    
    // vowels[ch] is true if ch is a vowel
    vowels := [128]bool{'a': true, 'e': true, 'i': true, 'o': true, 'u': true, 'y': true}
    
    // the array [10]float32{-1, 0, 0, 0, -0.1, -0.1, 0, 0, 0, -1}
    filter := [10]float32{-1, 4: -0.1, -0.1, 9: -1}
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top