- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,945 for bstart (0.08 sec)
-
src/cmd/cgo/internal/testlife/testdata/life.go
// Keep the channels visible from Go. var chans [4]chan bool // Double return value is just for testing. // //export GoStart func GoStart(i, xdim, ydim, xstart, xend, ystart, yend C.int, a *C.int, n *C.int) (int, int) { c := make(chan bool, int(C.MYCONST)) go func() { C.DoStep(xdim, ydim, xstart, xend, ystart, yend, a, n) c <- true }() chans[i] = c return int(i), int(i + 100) } //export GoWait
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 892 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue25756/plugin/c-life.c
{ struct GoStart_return r; // Use Go to start 4 goroutines each of which handles 1/4 of the // board. r = GoStart(0, x, y, 0, x / 2, 0, y / 2, a, n); assert(r.r0 == 0 && r.r1 == 100); // test multiple returns r = GoStart(1, x, y, x / 2, x, 0, y / 2, a, n); assert(r.r0 == 1 && r.r1 == 101); // test multiple returns GoStart(2, x, y, 0, x / 2, y / 2, y, a, n); GoStart(3, x, y, x / 2, x, y / 2, y, a, n); GoWait(0); GoWait(1);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.4K bytes - Viewed (0) -
src/io/fs/stat.go
package fs // A StatFS is a file system with a Stat method. type StatFS interface { FS // Stat returns a FileInfo describing the file. // If there is an error, it should be of type *PathError. Stat(name string) (FileInfo, error) } // Stat returns a [FileInfo] describing the named file from the file system. // // If fs implements [StatFS], Stat calls fs.Stat. // Otherwise, Stat opens the [File] to stat it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 11 20:25:50 UTC 2023 - 803 bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/Stat.java
* limitations under the License. */ package org.gradle.internal.file; import java.io.File; public interface Stat { int getUnixMode(File f) throws FileException; FileMetadata stat(File f) throws FileException;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 803 bytes - Viewed (0) -
src/os/stat.go
package os import "internal/testlog" // Stat returns a [FileInfo] describing the named file. // If there is an error, it will be of type [*PathError]. func Stat(name string) (FileInfo, error) { testlog.Stat(name) return statNolog(name) } // Lstat returns a [FileInfo] describing the named file. // If the file is a symbolic link, the returned FileInfo // describes the symbolic link. Lstat makes no attempt to follow the link.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 973 bytes - Viewed (0) -
src/runtime/sys_aix_ppc64.s
ADD $144+FIXED_FRAME, R1 MOVD 16(R1), R0 MOVD R0, LR BR (LR) // runtime.tstart is a function descriptor to the real tstart. DATA runtime·tstart+0(SB)/8, $tstart<>(SB) DATA runtime·tstart+8(SB)/8, $TOC(SB) DATA runtime·tstart+16(SB)/8, $0 GLOBL runtime·tstart(SB), NOPTR, $24 TEXT tstart<>(SB),NOSPLIT,$0 XOR R0, R0 // reset R0 // set g MOVD m_g0(R3), g BL runtime·save_g(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:29:00 UTC 2023 - 7.4K bytes - Viewed (0) -
src/runtime/os_aix.go
// resources in minit, semacreate, or elsewhere. Do not take locks after calling this. func mdestroy(mp *m) { } // tstart is a function descriptor to _tstart defined in assembly. var tstart funcDescriptor func newosproc(mp *m) { var ( attr pthread_attr oset sigset tid pthread ) if pthread_attr_init(&attr) != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue25756/plugin/life.go
// Keep the channels visible from Go. var chans [4]chan bool // Double return value is just for testing. // //export GoStart func GoStart(i, xdim, ydim, xstart, xend, ystart, yend C.int, a *C.int, n *C.int) (int, int) { c := make(chan bool, int(C.MYCONST)) go func() { C.DoStep(xdim, ydim, xstart, xend, ystart, yend, a, n) c <- true }() chans[i] = c return int(i), int(i + 100) } //export GoWait
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 889 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/language.go
// Remove the setting if value is "". if value == "" { start, sep, end, _ := t.findTypeForKey(key) if start != sep { // Remove a possible empty extension. switch { case t.str[start-2] != '-': // has previous elements. case end == len(t.str), // end of string end+2 < len(t.str) && t.str[end+2] == '-': // end of extension start -= 2 } if start == int(t.pVariant) && end == len(t.str) { t.str = ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 16.8K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm_test.go
// REG_Vx & 63 == x + 32 func TestRegValueAlignment(t *testing.T) { tstFunc := func(rstart, rend, msk, rout int) { for i := rstart; i <= rend; i++ { if i&msk != rout { t.Errorf("%v is not aligned to 0x%X (expected %d, got %d)\n", rconv(i), msk, rout, rstart&msk) } rout++ } } var testType = []struct { rstart int rend int msk int rout int }{ {REG_VS0, REG_VS63, 63, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 22:14:57 UTC 2024 - 17.3K bytes - Viewed (0)