Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 261 for segs (0.04 sec)

  1. src/net/tcpsockopt_windows.go

    	}
    
    	if d == 0 {
    		d = defaultTCPKeepAliveIdle
    	} else if d < 0 {
    		return nil
    	}
    	// The kernel expects seconds so round to next highest second.
    	secs := int(roundDurationUp(d, time.Second))
    	err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, windows.TCP_KEEPIDLE, secs)
    	runtime.KeepAlive(fd)
    	return os.NewSyscallError("setsockopt", err)
    }
    
    func setKeepAliveInterval(fd *netFD, d time.Duration) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/net/tcpsockopt_solaris.go

    	}
    
    	if d == 0 {
    		d = defaultTCPKeepAliveIdle
    	} else if d < 0 {
    		return nil
    	}
    	// The kernel expects seconds so round to next highest second.
    	secs := int(roundDurationUp(d, time.Second))
    	err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, sysTCP_KEEPIDLE, secs)
    	runtime.KeepAlive(fd)
    	return wrapSyscallError("setsockopt", err)
    }
    
    func setKeepAliveInterval(fd *netFD, d time.Duration) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/elf_test.go

    		return max(st1, st2) < min(en1, en2)
    	}
    
    	// Sort by address
    	sort.SliceStable(secs, func(i, j int) bool {
    		return secs[i].Addr < secs[j].Addr
    	})
    
    	// Check to make sure we don't have any overlaps.
    	foundOverlap := false
    	for i := 0; i < len(secs)-1; i++ {
    		for j := i + 1; j < len(secs); j++ {
    			s := secs[i]
    			sn := secs[j]
    			if secOverlaps(s, sn) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/expand_calls.go

    	}
    	regs := "<none>"
    	if c.regValues != nil {
    		regs = ""
    		for i, x := range *c.regValues {
    			if i > 0 {
    				regs = regs + "; "
    			}
    			regs = regs + x.LongString()
    		}
    	}
    
    	// not printing the config because that has not been useful
    	return fmt.Sprintf("RCSR{storeDest=%v, regsLen=%d, nextSlice=%d, regValues=[%s]}", dest, len(c.regs), c.nextSlice, regs)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcshared/testdata/libgo4/libgo4.go

    //
    //export TestSEGV
    func TestSEGV() {
    	defer func() {
    		if recover() == nil {
    			fmt.Fprintln(os.Stderr, "no panic from segv")
    			os.Exit(1)
    		}
    	}()
    	*P = 0
    	fmt.Fprintln(os.Stderr, "continued after segv")
    	os.Exit(1)
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 864 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go

    const (
    	SizeofSockaddrNFCLLCP = 0x60
    	SizeofIovec           = 0x10
    	SizeofMsghdr          = 0x38
    	SizeofCmsghdr         = 0x10
    )
    
    const (
    	SizeofSockFprog = 0x10
    )
    
    type PtraceRegs struct {
    	Regs     [32]uint64
    	Lo       uint64
    	Hi       uint64
    	Epc      uint64
    	Badvaddr uint64
    	Status   uint64
    	Cause    uint64
    }
    
    type FdSet struct {
    	Bits [16]int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go

    const (
    	SizeofSockaddrNFCLLCP = 0x58
    	SizeofIovec           = 0x8
    	SizeofMsghdr          = 0x1c
    	SizeofCmsghdr         = 0xc
    )
    
    const (
    	SizeofSockFprog = 0x8
    )
    
    type PtraceRegs struct {
    	Regs     [32]uint64
    	Lo       uint64
    	Hi       uint64
    	Epc      uint64
    	Badvaddr uint64
    	Status   uint64
    	Cause    uint64
    }
    
    type FdSet struct {
    	Bits [32]int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcarchive/testdata/libgo2/libgo2.go

    //
    //export TestSEGV
    func TestSEGV() {
    	defer func() {
    		if recover() == nil {
    			fmt.Fprintln(os.Stderr, "no panic from segv")
    			os.Exit(1)
    		}
    	}()
    	*P = 0
    	fmt.Fprintln(os.Stderr, "continued after segv")
    	os.Exit(1)
    }
    
    // Noop ensures that the Go runtime is initialized.
    //
    //export Noop
    func Noop() {
    }
    
    // Raise SIGPIPE.
    //
    //export GoRaiseSIGPIPE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

        # numpy ndarray types to be compatible with `make_tensor_proto`.
        if not context.executing_eagerly():
          with session.Session() as sess:
            repr_ds = replace_tensors_by_numpy_ndarrays(repr_ds, sess)
    
        expected_input_keys = self.expected_input_key_map.get(
            signature_def_key, None
        )
        tfrecord_file_path = self.path_map[signature_def_key]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go

    const (
    	SizeofSockaddrNFCLLCP = 0x60
    	SizeofIovec           = 0x10
    	SizeofMsghdr          = 0x38
    	SizeofCmsghdr         = 0x10
    )
    
    const (
    	SizeofSockFprog = 0x10
    )
    
    type PtraceRegs struct {
    	Regs   [31]uint64
    	Sp     uint64
    	Pc     uint64
    	Pstate uint64
    }
    
    type FdSet struct {
    	Bits [16]int64
    }
    
    type Sysinfo_t struct {
    	Uptime    int64
    	Loads     [3]uint64
    	Totalram  uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top