- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 8,291 for makec (0.04 sec)
-
test/fixedbugs/issue4313.go
package main func main() { c := make(chan int, 1) x := 0 select { case c <- x: // should see x = 0, not x = 42 (after makec) case <-makec(&x): // should be evaluated only after c and x on previous line } y := <-c if y != 0 { panic(y) } } func makec(px *int) chan bool { if false { for {} } *px = 42 return make(chan bool, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 546 bytes - Viewed (0) -
test/fixedbugs/issue49512.go
calls []func(int) (int, int) } func makeC() Funcs { return &C{} } func (c *C) Add(fn func(int) (int, int)) Funcs { c.calls = append(c.calls, fn) return c } func (c *C) Call() { for _, fn := range c.calls { fn(0) } } type Funcs interface { Add(func(int) (int, int)) Funcs Call() } func main() { s := &S{} c := makeC().Add(s.M1).Add(s.M2) c.Call()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 11 04:02:33 UTC 2021 - 809 bytes - Viewed (0) -
src/make.rc
# (make.bash, make.bat, make.rc)....
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/make.bash
bootgo=1.20.6 set -e if [[ ! -f run.bash ]]; then echo 'make.bash must be run from $GOROOT/src' 1>&2 exit 1 fi if [[ "$GOBUILDTIMELOGFILE" != "" ]]; then echo $(LC_TIME=C date) start make.bash >"$GOBUILDTIMELOGFILE" fi # Test for Windows. case "$(uname)" in *MINGW* | *WIN32* | *CYGWIN*) echo 'ERROR: Do not use make.bash to build on Windows.' echo 'Use make.bat instead.' echo exit 1 ;; esac
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:48:46 UTC 2024 - 7.6K bytes - Viewed (0) -
src/make.bat
goto fail L155:del .\cmd\dist\dist.exe L156:goto :eof L157: L158::: DO NOT ADD ANY NEW CODE HERE. L159::: The bootstrap+del above are the final step of make.bat. L160::: If something must be added, add it to cmd/dist's cmdbootstrap, L161::: to avoid needing three copies in three different shell languages L162::: (make.bash, make.bat, make.rc). L163: L164::copydist L165:mkdir "%GOTOOLDIR%" 2>NUL L166:copy cmd\dist\dist.exe "%GOTOOLDIR%\" L167:goto :eof L168: L169::nogoenv L170:set GO111MODULE=off ...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/api/endpoints/testing/make.go
Tim Hockin <******@****.***> 1625032124 -0700
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 02 01:26:45 UTC 2021 - 1.9K bytes - Viewed (0) -
hack/make-rules/make-help.sh
if [ ${CMD_FLAG} = true ]; then continue 2; fi echo -e "${red}${CMD_TARGETS}${reset}" make -C "${KUBE_ROOT}" "${tar}" PRINT_HELP=y echo "---------------------------------------------------------------------------------" CMD_FLAG=true continue 2 fi done echo -e "${red}${tar}${reset}" make -C "${KUBE_ROOT}" "${tar}" PRINT_HELP=y
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 06:46:18 UTC 2022 - 1.6K bytes - Viewed (0) -
src/Make.dist
Russ Cox <******@****.***> 1328732807 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 08 20:26:47 UTC 2012 - 553 bytes - Viewed (0) -
pkg/api/service/testing/make.go
Stephen Kitt <******@****.***> 1678807068 +0100
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 7.1K bytes - Viewed (0) -
build/make-clean.sh
Benjamin Elder <******@****.***> 1547627608 -0800
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 16 08:33:28 UTC 2019 - 845 bytes - Viewed (0)