Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,477 for bstart (0.55 sec)

  1. src/cmd/cgo/internal/testlife/testdata/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)
  2. src/runtime/os_openbsd_libc.go

    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Finally, create the thread. It starts at mstart_stub, which does some low-level
    	// setup and then calls mstart.
    	var oset sigset
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 20:44:45 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. src/runtime/pprof/testdata/README

    These binaries were generated by:
    
    $ cat empty.s
    .global _start
    _start:
    $ as --32 -o empty.o empty.s && ld  --build-id -m elf_i386 -o test32 empty.o
    $ as --64 -o empty.o empty.s && ld --build-id -o test64 empty.o
    $ powerpc-linux-gnu-as -o empty.o empty.s && powerpc-linux-gnu-ld --build-id -o test32be empty.o
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 01:09:18 UTC 2017
    - 411 bytes
    - Viewed (0)
  4. 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)
  5. releasenotes/notes/delay-app-start.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: networking
    issue:
    - 24737
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 11 21:20:58 UTC 2020
    - 242 bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/internal/buildid/rewrite.go

    				break
    			}
    			matches = append(matches, offset+int64(start+i-tiny))
    			h.Write(buf[start : start+i])
    			h.Write(zeros)
    			start += i + len(id)
    		}
    		if n < bufSize {
    			// Did not fill buffer, must be at end of file.
    			h.Write(buf[start : tiny+n])
    			break
    		}
    
    		// Process all but final tiny bytes of buf (bufSize = len(buf)-tiny).
    		// Note that start > len(buf)-tiny is possible, if the search above
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top