Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 204 for _len (0.07 sec)

  1. src/net/http/requestwrite_test.go

    			want:   noContentLengthOrTransferEncoding,
    		},
    		{
    			method: "GET",
    			clen:   -1,
    			body:   io.NopCloser(strings.NewReader("")),
    			want:   noContentLengthOrTransferEncoding,
    		},
    		// A GET with a body, with explicit content length:
    		{
    			method: "GET",
    			clen:   7,
    			body:   io.NopCloser(strings.NewReader("foobody")),
    			want: all(matchSubstr("Content-Length: 7"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 23.3K bytes
    - Viewed (0)
  2. src/internal/bytealg/indexbyte_s390x.s

    #include "textflag.h"
    
    TEXT ·IndexByte(SB),NOSPLIT|NOFRAME,$0-40
    	MOVD	b_base+0(FP), R3// b_base => R3
    	MOVD	b_len+8(FP), R4 // b_len => R4
    	MOVBZ	c+24(FP), R5    // c => R5
    	MOVD	$ret+32(FP), R2 // &ret => R9
    	BR	indexbytebody<>(SB)
    
    TEXT ·IndexByteString(SB),NOSPLIT|NOFRAME,$0-32
    	MOVD	s_base+0(FP), R3// s_base => R3
    	MOVD	s_len+8(FP), R4 // s_len => R4
    	MOVBZ	c+16(FP), R5    // c => R5
    	MOVD	$ret+24(FP), R2 // &ret => R9
    	BR	indexbytebody<>(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 08 20:52:47 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  3. src/internal/bytealg/indexbyte_386.s

    #include "textflag.h"
    
    TEXT ·IndexByte(SB),NOSPLIT,$0-20
    	MOVL	b_base+0(FP), SI
    	MOVL	b_len+4(FP), CX
    	MOVB	c+12(FP), AL
    	MOVL	SI, DI
    	CLD; REPN; SCASB
    	JZ 3(PC)
    	MOVL	$-1, ret+16(FP)
    	RET
    	SUBL	SI, DI
    	SUBL	$1, DI
    	MOVL	DI, ret+16(FP)
    	RET
    
    TEXT ·IndexByteString(SB),NOSPLIT,$0-16
    	MOVL	s_base+0(FP), SI
    	MOVL	s_len+4(FP), CX
    	MOVB	c+8(FP), AL
    	MOVL	SI, DI
    	CLD; REPN; SCASB
    	JZ 3(PC)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 08 20:52:47 UTC 2018
    - 647 bytes
    - Viewed (0)
  4. src/net/interface_aix.go

    				ifi := &Interface{Index: int(ifm.Index), Flags: linkFlags(ifm.Flags)}
    				ifi.Name = string(sdl.Data[:sdl.Nlen])
    				ifi.HardwareAddr = sdl.Data[sdl.Nlen : sdl.Nlen+sdl.Alen]
    
    				// Retrieve MTU
    				ifr := &ifreq{}
    				copy(ifr.Name[:], ifi.Name)
    				err = unix.Ioctl(sock, syscall.SIOCGIFMTU, unsafe.Pointer(ifr))
    				if err != nil {
    					return nil, err
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  5. src/internal/bytealg/indexbyte_arm.s

    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·IndexByte(SB),NOSPLIT,$0-20
    	MOVW	b_base+0(FP), R0
    	MOVW	b_len+4(FP), R1
    	MOVBU	c+12(FP), R2	// byte to find
    	MOVW	$ret+16(FP), R5
    	B	indexbytebody<>(SB)
    
    TEXT ·IndexByteString(SB),NOSPLIT,$0-16
    	MOVW	s_base+0(FP), R0
    	MOVW	s_len+4(FP), R1
    	MOVBU	c+8(FP), R2	// byte to find
    	MOVW	$ret+12(FP), R5
    	B	indexbytebody<>(SB)
    
    // input:
    //  R0: data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 07:37:13 UTC 2019
    - 951 bytes
    - Viewed (0)
  6. src/encoding/base32/base32.go

    				if dlen == 1 || dlen == 3 || dlen == 6 {
    					return n, false, CorruptInputError(olen - len(src) - 1)
    				}
    				break
    			}
    			dbuf[j] = enc.decodeMap[in]
    			if dbuf[j] == 0xFF {
    				return n, false, CorruptInputError(olen - len(src) - 1)
    			}
    			j++
    		}
    
    		// Pack 8x 5-bit source blocks into 5 byte destination
    		// quantum
    		switch dlen {
    		case 8:
    			dst[dsti+4] = dbuf[6]<<5 | dbuf[7]
    			n++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. src/internal/bytealg/indexbyte_mipsx.s

    // license that can be found in the LICENSE file.
    
    //go:build mips || mipsle
    
    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·IndexByte(SB),NOSPLIT,$0-20
    	MOVW	b_base+0(FP), R1
    	MOVW	b_len+4(FP), R2
    	MOVBU	c+12(FP), R3	// byte to find
    	ADDU	$1, R1, R4	// store base+1 for later
    	ADDU	R1, R2	// end
    
    loop:
    	BEQ	R1, R2, notfound
    	MOVBU	(R1), R5
    	ADDU	$1, R1
    	BNE	R3, R5, loop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1012 bytes
    - Viewed (0)
  8. src/internal/bytealg/indexbyte_mips64x.s

    // license that can be found in the LICENSE file.
    
    //go:build mips64 || mips64le
    
    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·IndexByte(SB),NOSPLIT,$0-40
    	MOVV	b_base+0(FP), R1
    	MOVV	b_len+8(FP), R2
    	MOVBU	c+24(FP), R3	// byte to find
    	MOVV	R1, R4		// store base for later
    	ADDV	R1, R2		// end
    	ADDV	$-1, R1
    
    loop:
    	ADDV	$1, R1
    	BEQ	R1, R2, notfound
    	MOVBU	(R1), R5
    	BNE	R3, R5, loop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 985 bytes
    - Viewed (0)
  9. src/internal/bytealg/count_arm.s

    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·Count(SB),NOSPLIT,$0-20
    	MOVW	b_base+0(FP), R0
    	MOVW	b_len+4(FP), R1
    	MOVBU	c+12(FP), R2
    	MOVW	$ret+16(FP), R7
    	B	countbytebody<>(SB)
    
    TEXT ·CountString(SB),NOSPLIT,$0-16
    	MOVW	s_base+0(FP), R0
    	MOVW	s_len+4(FP), R1
    	MOVBU	c+8(FP), R2
    	MOVW	$ret+12(FP), R7
    	B	countbytebody<>(SB)
    
    // Input:
    // R0: data
    // R1: data length
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:33:10 UTC 2019
    - 917 bytes
    - Viewed (0)
  10. src/internal/bytealg/indexbyte_loong64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·IndexByte<ABIInternal>(SB),NOSPLIT,$0-40
    	// R4 = b_base
    	// R5 = b_len
    	// R6 = b_cap (unused)
    	// R7 = byte to find
    	AND	$0xff, R7
    	MOVV	R4, R6		// store base for later
    	ADDV	R4, R5		// end
    	ADDV	$-1, R4
    
    	PCALIGN	$16
    loop:
    	ADDV	$1, R4
    	BEQ	R4, R5, notfound
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 905 bytes
    - Viewed (0)
Back to top