Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TC (0.17 sec)

  1. src/bytes/bytes_test.go

    }
    
    func TestIndexFunc(t *testing.T) {
    	for _, tc := range indexFuncTests {
    		first := IndexFunc([]byte(tc.in), tc.f.f)
    		if first != tc.first {
    			t.Errorf("IndexFunc(%q, %s) = %d; want %d", tc.in, tc.f.name, first, tc.first)
    		}
    		last := LastIndexFunc([]byte(tc.in), tc.f.f)
    		if last != tc.last {
    			t.Errorf("LastIndexFunc(%q, %s) = %d; want %d", tc.in, tc.f.name, last, tc.last)
    		}
    	}
    }
    
    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)
  2. src/cmd/asm/internal/lex/lex_test.go

    			"\t2\\",
    			"\t3",
    			"before",
    			"A",
    			"after",
    		),
    		"before.\n.1.\n.2.\n.3.\n.after.\n",
    	},
    	{
    		"multiline macro with arguments",
    		lines(
    			"#define A(a, b, c) a\\",
    			"\tb\\",
    			"\tc",
    			"before",
    			"A(1, 2, 3)",
    			"after",
    		),
    		"before.\n.1.\n.2.\n.3.\n.after.\n",
    	},
    	{
    		"LOAD macro",
    		lines(
    			"#define LOAD(off, reg) \\",
    			"\tMOVBLZX	(off*4)(R12),	reg \\",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    			tr := NewReader(f)
    			for i, tc := range v.cases {
    				hdr, err := tr.Next()
    				if err != nil || hdr == nil {
    					t.Fatalf("entry %d, Next(): got %v, want %v", i, err, nil)
    				}
    				buf := make([]byte, tc.cnt)
    				if _, err := io.ReadFull(tr, buf); err != nil {
    					t.Fatalf("entry %d, ReadFull(): got %v, want %v", i, err, nil)
    				}
    				if string(buf) != tc.output {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  4. api/go1.1.txt

    pkg syscall (linux-386), const RTNLGRP_NONE ideal-int
    pkg syscall (linux-386), const RTNLGRP_NOTIFY = 2
    pkg syscall (linux-386), const RTNLGRP_NOTIFY ideal-int
    pkg syscall (linux-386), const RTNLGRP_TC = 4
    pkg syscall (linux-386), const RTNLGRP_TC ideal-int
    pkg syscall (linux-386), const RTN_ANYCAST = 4
    pkg syscall (linux-386), const RTN_BLACKHOLE = 6
    pkg syscall (linux-386), const RTN_BROADCAST = 3
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  5. api/go1.2.txt

    pkg syscall (linux-arm-cgo), const RTNLGRP_NEIGH ideal-int
    pkg syscall (linux-arm-cgo), const RTNLGRP_NONE ideal-int
    pkg syscall (linux-arm-cgo), const RTNLGRP_NOTIFY ideal-int
    pkg syscall (linux-arm-cgo), const RTNLGRP_TC ideal-int
    pkg syscall (linux-arm-cgo), const RTN_ANYCAST ideal-int
    pkg syscall (linux-arm-cgo), const RTN_BLACKHOLE ideal-int
    pkg syscall (linux-arm-cgo), const RTN_BROADCAST ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
Back to top