Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Powers (0.24 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 Apr 30 11:13:12 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/bytes/bytes.go

    				c -= 'a' - 'A'
    			}
    			b[i] = c
    		}
    		return b
    	}
    	return Map(unicode.ToUpper, s)
    }
    
    // ToLower returns a copy of the byte slice s with all Unicode letters mapped to
    // their lower case.
    func ToLower(s []byte) []byte {
    	isASCII, hasUpper := true, false
    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		if c >= utf8.RuneSelf {
    			isASCII = false
    			break
    		}
    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)
  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. src/cmd/asm/internal/asm/parse.go

    			} else if nextReg != int(reg) {
    				p.errorf("incontiguous register in ARM64 register list: %s", name)
    			}
    			regCnt++
    			nextReg = (nextReg + 1) % 32
    		case sys.ARM:
    			// Parse the upper and lower bounds.
    			lo := p.registerNumber(tok.String())
    			hi := lo
    			if p.peek() == '-' {
    				p.next()
    				hi = p.registerNumber(p.next().String())
    			}
    			if hi < lo {
    				lo, hi = hi, lo
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. api/go1.1.txt

    pkg syscall (linux-386), const LINUX_REBOOT_CMD_HALT = 3454992675
    pkg syscall (linux-386), const LINUX_REBOOT_CMD_KEXEC = 1163412803
    pkg syscall (linux-386), const LINUX_REBOOT_CMD_POWER_OFF = 1126301404
    pkg syscall (linux-386), const LINUX_REBOOT_CMD_RESTART = 19088743
    pkg syscall (linux-386), const LINUX_REBOOT_CMD_RESTART2 = 2712847316
    pkg syscall (linux-386), const LINUX_REBOOT_CMD_SW_SUSPEND = 3489725666
    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)
  8. src/cmd/asm/internal/asm/endtoend_test.go

    	testEndToEnd(t, "loong64", "loong64")
    }
    
    func TestPPC64EndToEnd(t *testing.T) {
    	defer func(old int) { buildcfg.GOPPC64 = old }(buildcfg.GOPPC64)
    	for _, goppc64 := range []int{8, 9, 10} {
    		t.Logf("GOPPC64=power%d", goppc64)
    		buildcfg.GOPPC64 = goppc64
    		// Some pseudo-ops may assemble differently depending on GOPPC64
    		testEndToEnd(t, "ppc64", "ppc64")
    		testEndToEnd(t, "ppc64", "ppc64_p10")
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  9. api/go1.2.txt

    pkg syscall (linux-arm-cgo), const LINUX_REBOOT_CMD_HALT ideal-int
    pkg syscall (linux-arm-cgo), const LINUX_REBOOT_CMD_KEXEC ideal-int
    pkg syscall (linux-arm-cgo), const LINUX_REBOOT_CMD_POWER_OFF ideal-int
    pkg syscall (linux-arm-cgo), const LINUX_REBOOT_CMD_RESTART ideal-int
    pkg syscall (linux-arm-cgo), const LINUX_REBOOT_CMD_RESTART2 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)
  10. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

        validations:
          required: true
      - type: textarea
        id: package-owner
        attributes:
          label: "Are you the owner of this package?"
          description: |
            Only the package owners can request to have their packages removed from pkg.go.dev.
            If the package path doesn't include your github username, please provide some other form of proof of ownership.
        validations:
          required: true
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top