Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for have (0.15 sec)

  1. src/bufio/bufio_test.go

    	}
    }
    
    // An onlyReader only implements io.Reader, no matter what other methods the underlying implementation may have.
    type onlyReader struct {
    	io.Reader
    }
    
    // An onlyWriter only implements io.Writer, no matter what other methods the underlying implementation may have.
    type onlyWriter struct {
    	io.Writer
    }
    
    // A scriptedReader is an io.Reader that executes its steps sequentially.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    			},
    		},
    	},
    	{
    		Name: "utf8-infozip.zip",
    		File: []ZipTestFile{
    			{
    				Name:    "世界",
    				Content: []byte{},
    				Mode:    0644,
    				// Name is valid UTF-8, but format does not have UTF-8 flag set.
    				// We don't do UTF-8 detection for multi-byte runes due to
    				// false-positives with other encodings (e.g., Shift-JIS).
    				// Format says encoding is not UTF-8, so we trust it.
    				NonUTF8:  true,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	MOVQ DR6, DX // 0f21f2
    	MOVQ DR7, SI // 0f21fe
    	// Test other movtab entries.
    	PUSHQ GS // 0fa8
    	PUSHQ FS // 0fa0
    	POPQ FS  // 0fa1
    	POPQ GS  // 0fa9
    	// All instructions below semantically have unsigned operands,
    	// but previous assembler permitted negative arguments.
    	// This behavior is preserved for compatibility reasons.
    	VPSHUFD $-79, X7, X7         // c5f970ffb1
    	RORXL $-1, (AX), DX          // c4e37bf010ff
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    			// Ignore field names that don't have the prefix we're
    			// looking for. It is common in C headers to have fields
    			// named, say, _pad in an otherwise prefixed header.
    			// If the struct has 3 fields tv_sec, tv_usec, _pad1, then we
    			// still want to remove the tv_ prefix.
    			// The check for "orig_" here handles orig_eax in the
    			// x86 ptrace register sets, which otherwise have all fields
    			// with reg_ prefixes.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    	defer func() {
    		if err := recover(); err == nil {
    			t.Fatal("Grow(-1) should have panicked")
    		}
    	}()
    	var b Buffer
    	b.Grow(-1)
    }
    
    func TestBufferTruncateNegative(t *testing.T) {
    	defer func() {
    		if err := recover(); err == nil {
    			t.Fatal("Truncate(-1) should have panicked")
    		}
    	}()
    	var b Buffer
    	b.Truncate(-1)
    }
    
    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)
  6. src/cmd/asm/internal/asm/testdata/arm64.s

    	AND	$1, ZR                              // fb0340b2ff031b8a
    	ANDW	$1, ZR                              // fb030032ff031b0a
    	// TODO: this could have better encoding
    	ANDW	$-1, R10                            // 1b0080124a011b0a
    	AND	$8, R0, RSP                         // 1f007d92
    	ORR	$8, R0, RSP                         // 1f007db2
    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)
Back to top