Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 183 for iota (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/crypto/des/cipher.go

    	"internal/byteorder"
    	"strconv"
    )
    
    // The DES block size in bytes.
    const BlockSize = 8
    
    type KeySizeError int
    
    func (k KeySizeError) Error() string {
    	return "crypto/des: invalid key size " + strconv.Itoa(int(k))
    }
    
    // desCipher is an instance of DES encryption.
    type desCipher struct {
    	subkeys [16]uint64
    }
    
    // NewCipher creates and returns a new [cipher.Block].
    func NewCipher(key []byte) (cipher.Block, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/internal/obj/s390x/asmz.go

    	sizeSS2  = 6
    	sizeSS3  = 6
    	sizeSS4  = 6
    	sizeSS5  = 6
    	sizeSS6  = 6
    	sizeSSE  = 6
    	sizeSSF  = 6
    )
    
    // instruction format variations
    type form int
    
    const (
    	_a form = iota
    	_b
    	_c
    	_d
    	_e
    	_f
    )
    
    func zE(op uint32, asm *[]byte) {
    	*asm = append(*asm, uint8(op>>8), uint8(op))
    }
    
    func zI(op, i1 uint32, asm *[]byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  9. 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)
  10. src/runtime/trace2map_test.go

    		m.Reset()
    	}
    }
    
    func TestTraceMapConcurrent(t *testing.T) {
    	var m TraceMap
    
    	var wg sync.WaitGroup
    	for i := range 3 {
    		wg.Add(1)
    		go func(i int) {
    			defer wg.Done()
    
    			si := strconv.Itoa(i)
    			var d = [...]string{
    				"a" + si,
    				"b" + si,
    				"aa" + si,
    				"ab" + si,
    				"ba" + si,
    				"bb" + si,
    			}
    			ids := make([]uint64, 0, len(d))
    			for _, s := range d {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 18:52:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top