Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for Shift (0.38 sec)

  1. src/archive/zip/writer_test.go

    			comment: "in the 世界",
    			flags:   0x808,
    		},
    		{
    			name:    "the replacement rune is �",
    			comment: "the replacement rune is �",
    			flags:   0x808,
    		},
    		{
    			// Name is Japanese encoded in Shift JIS.
    			name:    "\x93\xfa\x96{\x8c\xea.txt",
    			comment: "in the 世界",
    			flags:   0x008, // UTF-8 must not be set
    		},
    	}
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/riscv64.s

    	VXORVX		X11, V2, V0, V3			// d7c1252c
    	VXORVI		$15, V2, V3			// d7b1272e
    	VXORVI		$15, V2, V0, V3			// d7b1272c
    	VNOTV		V2, V3				// d7b12f2e
    	VNOTV		V2, V0, V3			// d7b12f2c
    
    	// 31.11.6: Vector Single-Width Shift Instructions
    	VSLLVV		V1, V2, V3			// d7812096
    	VSLLVV		V1, V2, V0, V3			// d7812094
    	VSLLVX		X11, V2, V3			// d7c12596
    	VSLLVX		X11, V2, V0, V3			// d7c12594
    	VSLLVI		$15, V2, V3			// d7b12796
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 13 12:17:37 UTC 2025
    - 73.7K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    		// If we've already hit EOF or an I/O error, we are done.
    		if s.err != nil {
    			// Shut it down.
    			s.start = 0
    			s.end = 0
    			return false
    		}
    		// Must read more data.
    		// First, shift data to beginning of buffer if there's lots of empty space
    		// or space is needed.
    		if s.start > 0 && (s.end == len(s.buf) || s.start > len(s.buf)/2) {
    			copy(s.buf, s.buf[s.start:s.end])
    			s.end -= s.start
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// and accept the same constants.
    	MOVW $2147483648, R5            // 64058000
    	MOVWZ $-2147483648, R5          // 3ca08000
    
    	// TODO: These are preprocessed by the assembler into MOVD $const>>shift, R5; SLD $shift, R5.
    	//       This only captures the MOVD. Should the SLD be appended to the encoding by the test?
    	// Hex constant 0x20004000000
    	MOVD $2199090364416, R5         // 60058001
    	// Hex constant 0xFFFFFE0004000000
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 21 18:27:17 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    		// local character encoding. Most encoding are compatible with a large
    		// subset of CP-437, which itself is ASCII-like.
    		//
    		// Forbid 0x7e and 0x5c since EUC-KR and Shift-JIS replace those
    		// characters with localized currency and overline characters.
    		if r < 0x20 || r > 0x7d || r == 0x5c {
    			if !utf8.ValidRune(r) || (r == utf8.RuneError && size == 1) {
    				return false, false
    			}
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/s390x.s

    	ORW	(R1), R2              // 56201000
    	ORW	-1(R1), R2            // e3201fffff56
    	XOR	(R1), R2              // e32010000082
    	XORW	(R1), R2              // 57201000
    	XORW	-1(R1), R2            // e3201fffff57
    
    	// shift and rotate instructions
    	SRD	$4, R4, R7              // eb740004000c
    	SRD	R1, R4, R7              // eb741000000c
    	SRW	$4, R4, R7              // eb74000400de
    	SRW	R1, R4, R7              // eb74100000de
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Jul 30 19:29:15 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  7. src/archive/zip/reader.go

    		// Some ZIP writers use UTF-8 encoding without setting the UTF-8 flag.
    		// Since it is impossible to always distinguish valid UTF-8 from some
    		// other encoding (e.g., GBK or Shift-JIS), we trust the flag.
    		f.NonUTF8 = f.Flags&0x800 == 0
    	}
    
    	needUSize := f.UncompressedSize == ^uint32(0)
    	needCSize := f.CompressedSize == ^uint32(0)
    	needHeaderOffset := f.headerOffset == int64(^uint32(0))
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  8. api/go1.5.txt

    pkg go/constant, func MakeUint64(uint64) Value
    pkg go/constant, func MakeUnknown() Value
    pkg go/constant, func Num(Value) Value
    pkg go/constant, func Real(Value) Value
    pkg go/constant, func Shift(Value, token.Token, uint) Value
    pkg go/constant, func Sign(Value) int
    pkg go/constant, func StringVal(Value) string
    pkg go/constant, func Uint64Val(Value) (uint64, bool)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  9. src/archive/zip/reader_test.go

    				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,
    				Modified: time.Date(2017, 11, 6, 13, 9, 27, 0, timeZone(-8*time.Hour)),
    			},
    		},
    	},
    	{
    		Name: "utf8-osx.zip",
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Oct 17 20:10:27 UTC 2025
    - 56.5K bytes
    - Viewed (0)
  10. lib/fips140/v1.0.0-c2097c7c.zip

    t.Run(fmt.Sprint(shift-1), func(t *testing.T) { testShift(t, shift-1) }) t.Run(fmt.Sprint(shift), func(t *testing.T) { testShift(t, shift) }) t.Run(fmt.Sprint(shift+1), func(t *testing.T) { testShift(t, shift+1) }) } } func natBytes(n *Nat) []byte { return n.Bytes(maxModulus(uint(len(n.limbs)))) } func natFromBytes(b []byte) *Nat { // Must not use Nat.SetBytes as it's used in TestSetBytes. bb := new(big.Int).SetBytes(b) return NewNat().setBig(bb) } func modulusFromBytes(b []byte) *Modulus { bb := new(big.Int).SetBytes(b)...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
Back to top