- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,481 for gen1 (0.13 sec)
-
test/divmod.go
func gen(val uint64, nbits, maxbits, pos int, f func(uint64)) { if pos < 0 { f(val) return } gen(val, nbits, maxbits, pos-1, f) if nbits < maxbits { gen(val|1<<uint(pos), nbits+1, maxbits, pos-1, f) } } // generate all uint64 values x, y where x has at most n1 bits set in the low w1 // and y has at most n2 bits set in the low w2 and call f(x, y) for each. func gen2(n1, w1, n2, w2 int, f func(uint64, uint64)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 9.3K bytes - Viewed (0) -
manifests/addons/gen.sh
compressDashboard "pilot-dashboard.gen.json" compressDashboard "istio-performance-dashboard.json" compressDashboard "istio-workload-dashboard.json" compressDashboard "istio-service-dashboard.json" compressDashboard "istio-mesh-dashboard.json" compressDashboard "istio-extension-dashboard.json" compressDashboard "ztunnel-dashboard.gen.json" echo -e "\n---\n"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 3.5K bytes - Viewed (0) -
src/index/suffixarray/gen.go
// license that can be found in the LICENSE file. //go:build ignore // Gen generates sais2.go by duplicating functions in sais.go // using different input types. // See the comment at the top of sais.go for details. package main import ( "bytes" "log" "os" "strings" ) func main() { log.SetPrefix("gen: ") log.SetFlags(0) data, err := os.ReadFile("sais.go") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.9K bytes - Viewed (0) -
src/image/color/palette/gen.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore package main // This program generates palette.go. Invoke it as // go run gen.go -output palette.go import ( "bytes" "flag" "fmt" "go/format" "io" "log" "os" ) var filename = flag.String("output", "palette.go", "output file name") func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 3.5K bytes - Viewed (0) -
src/crypto/md5/gen.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore // This program generates md5block.go // Invoke as // // go run gen.go -output md5block.go package main import ( "bytes" "flag" "go/format" "log" "os" "strings" "text/template" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4.7K bytes - Viewed (0) -
src/image/internal/imageutil/gen.go
} out, err := format.Source(w.Bytes()) if err != nil { log.Fatal(err) } if err := os.WriteFile("impl.go", out, 0660); err != nil { log.Fatal(err) } } const pre = `// Code generated by go run gen.go; DO NOT EDIT. package imageutil import ( "image" ) // DrawYCbCr draws the YCbCr source image on the RGBA destination image with // r.Min in dst aligned with sp in src. It reports whether the draw was
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 4.3K bytes - Viewed (0) -
samples/helloworld/gen-helloworld.sh
# See the License for the specific language governing permissions and # limitations under the License. set -euo pipefail display_usage() { echo echo "USAGE: ./gen-helloworld.sh [--version] [--includeService value] [--includeDeployment value]" echo " -h|--help: Prints usage information"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 19 14:18:35 UTC 2022 - 2.9K bytes - Viewed (0) -
security/tools/jwt/samples/gen-jwt.py
# See the License for the specific language governing permissions and # limitations under the License. """Python script generates a JWT signed with custom private key. Example: ./gen-jwt.py --iss example-issuer --aud foo,bar --claims=email:******@****.***,dead:beef key.pem -listclaim key1 val2 val3 -listclaim key2 val3 val4 """ from __future__ import print_function import argparse import copy import time
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 11 16:38:57 UTC 2023 - 4.7K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-fail-first-gen-first.test
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 256 bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-fail-first-gen-first.go
) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { // A running goroutine emits a task begin. t.RawEvent(go122.EvEventBatch, nil, 1 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 5 /*batch length*/) t.RawEvent(go122.EvFrequency, nil, 15625000) // A running goroutine emits a task begin. t.RawEvent(go122.EvEventBatch, nil, 1 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 5 /*batch length*/)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.7K bytes - Viewed (0)