Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Vector3 (0.1 sec)

  1. src/archive/tar/writer_test.go

    			ops     fileOps
    			wantCnt int64
    			wantErr error
    		}
    		testClose struct { // Close() == wantErr
    			wantErr error
    		}
    		testFnc any // testHeader | testWrite | testReadFrom | testClose
    	)
    
    	vectors := []struct {
    		file  string // Optional filename of expected output
    		tests []testFnc
    	}{{
    		// The writer test file was produced with this command:
    		// tar (GNU tar) 1.26
    		//   ln -s small.txt link.txt
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    		return 0, testError{fmt.Errorf("got Seek(%d, %d), want Seek(%d, %d)", pos, whence, s, io.SeekCurrent)}
    	}
    	f.pos += s
    	f.ops = f.ops[1:]
    	return f.pos, nil
    }
    
    func TestSparseEntries(t *testing.T) {
    	vectors := []struct {
    		in   []sparseEntry
    		size int64
    
    		wantValid    bool          // Result of validateSparseEntries
    		wantAligned  []sparseEntry // Result of alignSparseEntries
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    	"errors"
    	"fmt"
    	"hash/crc32"
    	"io"
    	"maps"
    	"math"
    	"os"
    	"path"
    	"reflect"
    	"slices"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestReader(t *testing.T) {
    	vectors := []struct {
    		file    string    // Test input file
    		headers []*Header // Expected output headers
    		chksums []string  // CRC32 checksum of files, leave as nil if not checked
    		err     error     // Expected error to occur
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  4. doc/asm.html

    </p>
    
    <p>
    If a vector instruction takes a length or an index as an argument then it will be the
    first argument.
    For example, <code>VLEIF</code> <code>$1,</code> <code>$16,</code> <code>V2</code> will load
    the value sixteen into index one of <code>V2</code>.
    Care should be taken when using vector instructions to ensure that they are available at
    runtime.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/s390x.s

    	KLMD	R2, R8                 // b93f0028
    	KIMD	R0, R4                 // b93e0004
    	KDSA	R0, R8                 // b93a0008
    	KMA	R2, R6, R4              // b9296024
    	KMCTR   R2, R6, R4              // b92d6024
    
    	// vector add and sub instructions
    	VAB	V3, V4, V4              // e743400000f3
    	VAH	V3, V4, V4              // e743400010f3
    	VAF	V3, V4, V4              // e743400020f3
    	VAG	V3, V4, V4              // e743400030f3
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:49:24 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/amd64error.s

    	MOVL (AX)(X0*1), AX             // ERROR "invalid instruction"
    	MOVL (AX)(Y0*1), AX             // ERROR "invalid instruction"
    	// VSIB/VM is invalid without vector index.
    	// TODO(quasilyte): improve error message (#21860).
    	// "invalid VSIB address (missing vector index)"
    	VPGATHERQQ Y2, (BP), Y1         // ERROR "invalid instruction"
    	// AVX2GATHER mask/index/dest #UD cases.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. src/bytes/compare_test.go

    	// difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation
    	// compares large chunks with wrong endianness, it gets wrong result.
    	// no vector register is larger than 512 bytes for now
    	const maxLength = 512
    	a := make([]byte, maxLength)
    	b := make([]byte, maxLength)
    	// randomish but deterministic data. No 0 or 255.
    	for i := 0; i < maxLength; i++ {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top