Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 110 for syso (0.23 sec)

  1. src/os/os_windows_test.go

    func TestStatPagefile(t *testing.T) {
    	t.Parallel()
    
    	const path = `c:\pagefile.sys`
    	fi, err := os.Stat(path)
    	if err == nil {
    		if fi.Name() == "" {
    			t.Fatalf("Stat(%q).Name() is empty", path)
    		}
    		t.Logf("Stat(%q).Size() = %v", path, fi.Size())
    		return
    	}
    	if os.IsNotExist(err) {
    		t.Skip(`skipping because c:\pagefile.sys is not found`)
    	}
    	t.Fatal(err)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. src/runtime/time.go

    // license that can be found in the LICENSE file.
    
    // Time-related runtime and pieces of package time.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/runtime/atomic"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    // A timer is a potentially repeating trigger for calling t.f(t.arg, t.seq).
    // Timers are allocated by client code, often as part of other data structures.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  3. src/runtime/signal_unix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/runtime/atomic"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    // sigTabT is the type of an entry in the global sigtable array.
    // sigtable is inherently system dependent, and appears in OS-specific files,
    // but sigTabT is the same for all Unixy systems.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. src/runtime/runtime2.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/chacha8rand"
    	"internal/goarch"
    	"internal/runtime/atomic"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    // defined constants
    const (
    	// G status
    	//
    	// Beyond indicating the general state of a G, the G status
    	// acts like a lock on the goroutine's stack (and hence its
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  5. src/runtime/runtime-gdb_test.go

    	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
    		t.Skip("skipping gdb python tests on illumos and solaris; see golang.org/issue/20821")
    	}
    	args := []string{"-nx", "-q", "--batch", "-iex", "python import sys; print('go gdb python support')"}
    	gdbArgsFixup(args)
    	cmd := exec.Command("gdb", args...)
    	out, err := cmd.CombinedOutput()
    
    	if err != nil {
    		t.Skipf("skipping due to issue running gdb: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/test.go

    #include <complex.h>
    #include <math.h>
    #include <stdarg.h>
    #include <stdbool.h>
    #include <stddef.h>
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <unistd.h>
    #include <sys/stat.h>
    #include <errno.h>
    #cgo !darwin LDFLAGS: -lm
    
    #ifndef WIN32
    #include <pthread.h>
    #include <signal.h>
    #endif
    
    // alignment tests
    
    typedef unsigned char Uint8;
    typedef unsigned short Uint16;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    			name:    filename,
    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr == nil {
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr == nil {
    				io.Copy(zwriter, r)
    			}
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. src/runtime/asm_arm.s

    // armPublicationBarrier is a native store/store barrier for ARMv7+.
    // On earlier ARM revisions, armPublicationBarrier is a no-op.
    // This will not work on SMP ARMv6 machines, if any are in use.
    // To implement publicationBarrier in sys_$GOOS_arm.s using the native
    // instructions, use:
    //
    //	TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    //		B	runtime·armPublicationBarrier(SB)
    //
    TEXT runtime·armPublicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/coderepo.go

    func (fi dataFileInfo) Mode() fs.FileMode  { return 0644 }
    func (fi dataFileInfo) ModTime() time.Time { return time.Time{} }
    func (fi dataFileInfo) IsDir() bool        { return false }
    func (fi dataFileInfo) Sys() any           { return nil }
    
    func (fi dataFileInfo) String() string {
    	return fs.FormatFileInfo(fi)
    }
    
    // hasPathPrefix reports whether the path s begins with the
    // elements in prefix.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/liveness/plive.go

    		// When the parent resumes, it is using the same stack frame. But the
    		// child has clobbered stack variables that the parent needs. Boom!
    		// In particular, the sys argument gets clobbered.
    		return
    	}
    	if lv.f.Name == "wbBufFlush" ||
    		((lv.f.Name == "callReflect" || lv.f.Name == "callMethod") && lv.fn.ABIWrapper()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top