- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for whatis1 (0.11 sec)
-
test/typeswitch1.go
case nil: return fmt.Sprint("nil ", xx) } panic("not reached") } func check(x interface{}, s string) { w := whatis(x) if w != s { fmt.Println("whatis", x, "=>", w, "!=", s) panic("fail") } w = whatis1(x) if w != s { fmt.Println("whatis1", x, "=>", w, "!=", s) panic("fail") } } func main() { check(1, "signed 1") check(uint(1), "unsigned 1")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:48:19 UTC 2012 - 1.6K bytes - Viewed (0) -
test/typeswitch2.go
// license that can be found in the LICENSE file. // Verify that various erroneous type switches are caught by the compiler. // Does not compile. package main import "io" func whatis(x interface{}) string { switch x.(type) { case int: return "int" case int: // ERROR "duplicate" return "int8" case io.Reader: return "Reader1" case io.Reader: // ERROR "duplicate" return "Reader2"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 11 23:33:11 UTC 2019 - 655 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/types_alias.go
// An UploadConfig controls what data is uploaded. type UploadConfig = telemetry.UploadConfig type ProgramConfig = telemetry.ProgramConfig type CounterConfig = telemetry.CounterConfig // A Report is what's uploaded (or saved locally) type Report = telemetry.Report
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 605 bytes - Viewed (0) -
src/make.rc
GOROOT_BOOTSTRAP = $home/go1.4 for(d in sdk/go$bootgo go$bootgo) if(test -d $home/$d) GOROOT_BOOTSTRAP = $home/$d } for(p in $path){ if(! test -x $GOROOT_BOOTSTRAP/bin/go){ if(go_exe = `{path=$p whatis go}){ goroot_bootstrap = $GOROOT_BOOTSTRAP GOROOT_BOOTSTRAP = () goroot = `{bootstrapenv $go_exe env GOROOT} GOROOT_BOOTSTRAP = $goroot_bootstrap if(! ~ $goroot $GOROOT){
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:48:46 UTC 2024 - 3.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/autocgo.txt
# Test automatic setting of CGO_ENABLED based on $CC and what's in $PATH. [!cgo] skip [cross] skip # Assume we're on a system that can enable cgo normally. env CGO_ENABLED= go env CGO_ENABLED stdout 1 # Clearing CC and removing everything but Go from the PATH should usually # disable cgo: no C compiler anymore (unless the baked-in defaultCC is an # absolute path and exists. env CC= env PATH=$GOROOT/bin go env CGO_ENABLED
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 02:01:30 UTC 2022 - 625 bytes - Viewed (0) -
SUPPORT.md
* [Kubernetes on Stack Overflow](https://stackoverflow.com/questions/tagged/kubernetes) * Here are some tips for [about how to ask good questions](https://stackoverflow.com/help/how-to-ask). * Don't forget to check to see [what's on topic](https://stackoverflow.com/help/on-topic). ### Documentation * [User Documentation](https://kubernetes.io/docs/) * [Troubleshooting Guide](https://kubernetes.io/docs/tasks/debug/) ### Real-time Chat
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 27 14:58:44 UTC 2022 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/configuration/ForegroundDaemonConfiguration.java
// Foreground daemon cannot be 'told' what's his startup options as the client sits in the same process so we will infer the jvm opts from the inputArguments()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 12:13:32 UTC 2024 - 1.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_stale_precompiled.txt
# no longer installed anyway! Since we're requiring a C compiler in order to # build and use cgo libraries in the standard library, we should make sure it # matches what's in the cache. [abscc] stop env CGO_ENABLED=1 env CC='' [!GOOS:plan9] env PATH='' # Guaranteed not to include $(go env CC)! [GOOS:plan9] env path='' ! go build -x runtime/cgo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 1.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/types.go
} type CounterConfig struct { Name string Rate float64 // If X <= Rate, report this counter Depth int `json:",omitempty"` // for stack counters } // A Report is what's uploaded (or saved locally) type Report struct { Week string // first day this report covers (YYYY-MM-DD) LastWeek string // Week field from latest previous report uploaded
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:10:54 UTC 2024 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.h
namespace TFL { namespace tac { // TODO(renjieliu): We need to come up with a better strategy to do cost // estimatation. Maybe build a big lookup table for all the ops. // TODO(renjieliu): We need to consider what's the default value if we cannot // analyze the cost. // ================== Interface ======================== // Get the estimated cost for the op under the given hardware spec senario.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 19 00:13:50 UTC 2022 - 2.5K bytes - Viewed (0)