Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for small (0.17 sec)

  1. src/builtin/builtin.go

    //	backed by this underlying array.
    //	Map: An empty map is allocated with enough space to hold the
    //	specified number of elements. The size may be omitted, in which case
    //	a small starting size is allocated.
    //	Channel: The channel's buffer is initialized with the specified
    //	buffer capacity. If zero, or the size is omitted, the channel is
    //	unbuffered.
    func make(t Type, size ...IntegerType) Type
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    		}
    	}
    }
    
    func TestFileInfoHeader(t *testing.T) {
    	fi, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	h, err := FileInfoHeader(fi, "")
    	if err != nil {
    		t.Fatalf("FileInfoHeader: %v", err)
    	}
    	if g, e := h.Name, "small.txt"; g != e {
    		t.Errorf("Name = %q; want %q", g, e)
    	}
    	if g, e := h.Mode, int64(fi.Mode().Perm()); g != e {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. src/archive/tar/testdata/small2.txt

    Russ Cox <******@****.***> 1410149331 -0400
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 11 bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    	case n == len(s):
    		if Equal(sep, s) {
    			return 0
    		}
    		return -1
    	case n > len(s):
    		return -1
    	case n <= bytealg.MaxLen:
    		// Use brute force when s and sep both are small
    		if len(s) <= bytealg.MaxBruteForce {
    			return bytealg.Index(s, sep)
    		}
    		c0 := sep[0]
    		c1 := sep[1]
    		i := 0
    		t := len(s) - n + 1
    		fails := 0
    		for i < t {
    			if s[i] != c0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/arm64.s

    	MOVD	$0, (R1)  // 3f0000f9
    	MOVW	$0, (R1)  // 3f0000b9
    	MOVWU	$0, (R1)  // 3f0000b9
    	MOVH	$0, (R1)  // 3f000079
    	MOVHU	$0, (R1)  // 3f000079
    	MOVB	$0, (R1)  // 3f000039
    	MOVBU	$0, (R1)  // 3f000039
    
    // small offset fits into instructions
    	MOVB	R1, 1(R2) // 41040039
    	MOVH	R1, 1(R2) // 41100078
    	MOVH	R1, 2(R2) // 41040079
    	MOVW	R1, 1(R2) // 411000b8
    	MOVW	R1, 4(R2) // 410400b9
    	MOVD	R1, 1(R2) // 411000f8
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    			b1[j] = 0
    			pos = IndexByte(b1, 'x')
    			if pos != -1 {
    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    		}
    	}
    }
    
    // test a small index across all page offsets
    func TestIndexByteSmall(t *testing.T) {
    	b := make([]byte, 5015) // bigger than a page
    	// Make sure we find the correct byte even when straddling a page.
    	for i := 0; i <= len(b)-15; i++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    };
    */
    
    func (c *typeConv) badJNI(dt *dwarf.TypedefType) bool {
    	// In Dalvik and ART, the jobject type in the JNI interface of the JVM has the
    	// property that it is sometimes (always?) a small integer instead of a real pointer.
    	// Note: although only the android JVMs are bad in this respect, we declare the JNI types
    	// bad regardless of platform, so the same Go code compiles on both android and non-android.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. api/go1.16.txt

    pkg text/template/parse, type Tree struct, Mode Mode
    pkg unicode, const Version = "13.0.0"
    pkg unicode, var Chorasmian *RangeTable
    pkg unicode, var Dives_Akuru *RangeTable
    pkg unicode, var Khitan_Small_Script *RangeTable
    pkg unicode, var Yezidi *RangeTable
    # all deprecations up to and including Go 1.16
    pkg archive/tar, const TypeRegA //deprecated
    pkg archive/tar, type Header struct, Xattrs //deprecated
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	SMADDL R3, R7, R11, R9                     // 691d239b
    	SMSUBL R5, R19, R11, R29                   // 7dcd259b
    	SMNEGL R26, R3, R15                        // 6ffc3a9b
    	SMULH R17, R21, R21                        // b57e519b
    	SMULL R0, R5, R0                           // a07c209b
    	SMC $37977                                 // 238b12d4
    	STLRW R16, (R22)                           // d0fe9f88
    	STLR R3, (R24)                             // 03ff9fc8
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jul 24 01:11:41 GMT 2023
    - 43.9K bytes
    - Viewed (1)
  10. src/bufio/bufio.go

    		return 0, b.err
    	}
    	n := b.Available()
    	if n < utf8.UTFMax {
    		if b.Flush(); b.err != nil {
    			return 0, b.err
    		}
    		n = b.Available()
    		if n < utf8.UTFMax {
    			// Can only happen if buffer is silly small.
    			return b.WriteString(string(r))
    		}
    	}
    	size = utf8.EncodeRune(b.buf[b.n:], r)
    	b.n += size
    	return size, nil
    }
    
    // WriteString writes a string.
    // It returns the number of bytes written.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
Back to top