Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 173 for iota (0.07 sec)

  1. src/os/exec_plan9.go

    	if e != nil {
    		return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
    	}
    
    	return newPIDProcess(pid), nil
    }
    
    func (p *Process) writeProcFile(file string, data string) error {
    	f, e := OpenFile("/proc/"+itoa.Itoa(p.Pid)+"/"+file, O_WRONLY, 0)
    	if e != nil {
    		return e
    	}
    	defer f.Close()
    	_, e = f.Write([]byte(data))
    	return e
    }
    
    func (p *Process) signal(sig Signal) error {
    	switch p.pidStatus() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/runtime/traceback.go

    	//
    	// Note that there are a small number of fatal situations that will throw
    	// regardless of unwindPrintErrors or unwindSilentErrors.
    	unwindPrintErrors unwindFlags = 1 << iota
    
    	// unwindSilentErrors silently ignores errors during unwinding.
    	unwindSilentErrors
    
    	// unwindTrap indicates that the initial PC and SP are from a trap, not a
    	// return PC from a call.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. src/os/writeto_linux_test.go

    		32769,
    	}
    	t.Run("sendfile-to-unix", func(t *testing.T) {
    		for _, size := range sizes {
    			t.Run(strconv.Itoa(size), func(t *testing.T) {
    				testSendFile(t, "unix", int64(size))
    			})
    		}
    	})
    	t.Run("sendfile-to-tcp", func(t *testing.T) {
    		for _, size := range sizes {
    			t.Run(strconv.Itoa(size), func(t *testing.T) {
    				testSendFile(t, "tcp", int64(size))
    			})
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/net/interface_plan9.go

    }
    
    func readInterface(i int) (*Interface, error) {
    	ifc := &Interface{
    		Index: i + 1,                             // Offset the index by one to suit the contract
    		Name:  netdir + "/ipifc/" + itoa.Itoa(i), // Name is the full path to the interface path in plan9
    	}
    
    	ifcstat := ifc.Name + "/status"
    	ifcstatf, err := open(ifcstat)
    	if err != nil {
    		return nil, err
    	}
    	defer ifcstatf.close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    			print(string(fmtNSAsMS(sbuf[:], uint64(start-runtimeInitTime))), " ms, ")
    			print(string(fmtNSAsMS(sbuf[:], uint64(end-start))), " ms clock, ")
    			print(string(itoa(sbuf[:], after.bytes-before.bytes)), " bytes, ")
    			print(string(itoa(sbuf[:], after.allocs-before.allocs)), " allocs")
    			print("\n")
    		}
    
    		t.state = 2 // initialization done
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  6. src/internal/poll/fd_unix.go

    				// some VPN software. Issue #61060.
    				// If we don't check this we will panic
    				// with slice bounds out of range.
    				// Use a more informative panic.
    				panic("invalid return from write: got " + itoa.Itoa(n) + " from a write of " + itoa.Itoa(max-nn))
    			}
    			nn += n
    		}
    		if nn == len(p) {
    			return nn, err
    		}
    		if err == syscall.EAGAIN && fd.pd.pollable() {
    			if err = fd.pd.waitWrite(fd.isFile); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 04:09:44 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. src/net/http/h2_bundle.go

    // https://lists.w3.org/Archives/Public/ietf-http-wg/2016JulSep/0599.html
    //
    // "reserved (remote)" is omitted since the client code does not
    // support server push.
    const (
    	http2stateIdle http2streamState = iota
    	http2stateOpen
    	http2stateHalfClosedLocal
    	http2stateHalfClosedRemote
    	http2stateClosed
    )
    
    var http2stateName = [...]string{
    	http2stateIdle:             "Idle",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_client_test.go

    // s_client` process.
    type opensslInputEvent int
    
    const (
    	// opensslRenegotiate causes OpenSSL to request a renegotiation of the
    	// connection.
    	opensslRenegotiate opensslInputEvent = iota
    
    	// opensslSendBanner causes OpenSSL to send the contents of
    	// opensslSentinel on the connection.
    	opensslSendSentinel
    
    	// opensslKeyUpdate causes OpenSSL to send a key update message to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/asm9.go

    	}
    	log.Fatalf("Error no pfxstore for %v\n", a)
    	return 0, 0
    }
    
    func oclass(a *obj.Addr) int {
    	return int(a.Class) - 1
    }
    
    const (
    	D_FORM = iota
    	DS_FORM
    )
    
    // This function determines when a non-indexed load or store is D or
    // DS form for use in finding the size of the offset field in the instruction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  10. src/net/lookup_plan9.go

    }
    
    func queryCS1(ctx context.Context, net string, ip IP, port int) (clone, dest string, err error) {
    	ips := "*"
    	if len(ip) != 0 && !ip.IsUnspecified() {
    		ips = ip.String()
    	}
    	lines, err := queryCS(ctx, net, ips, itoa.Itoa(port))
    	if err != nil {
    		return
    	}
    	f := getFields(lines[0])
    	if len(f) < 2 {
    		return "", "", errors.New("bad response from ndb/cs")
    	}
    	clone, dest = f[0], f[1]
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top