Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 241 for Flmagic (0.31 sec)

  1. src/internal/xcoff/ar.go

    	// Read File Header
    	var magic [SAIAMAG]byte
    	if _, err := sr.ReadAt(magic[:], 0); err != nil {
    		return nil, err
    	}
    
    	arch := new(Archive)
    	switch string(magic[:]) {
    	case AIAMAGBIG:
    		arch.magic = string(magic[:])
    	case AIAMAG:
    		return nil, fmt.Errorf("small AIX archive not supported")
    	default:
    		return nil, fmt.Errorf("unrecognised archive magic: 0x%x", magic)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/magic.go

    	m := M.Uint64()
    	return umagicData{s: int64(s), m: m}
    }
    
    func umagic8(c int8) umagicData   { return umagic(8, int64(c)) }
    func umagic16(c int16) umagicData { return umagic(16, int64(c)) }
    func umagic32(c int32) umagicData { return umagic(32, int64(c)) }
    func umagic64(c int64) umagicData { return umagic(64, c) }
    
    // For signed division, we use a similar strategy.
    // First, we enforce a positive c.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/magic_test.go

    		t.Skip("slow test; skipping")
    	}
    	testMagicExhaustiveU(t, 16)
    }
    
    // exhaustive test of magic for n bits
    func testMagicExhaustive(t *testing.T, n uint) {
    	min := -int64(1) << (n - 1)
    	max := int64(1) << (n - 1)
    	for c := int64(1); c < max; c++ {
    		if !smagicOK(n, int64(c)) {
    			continue
    		}
    		m := int64(smagic(n, c).m)
    		s := smagic(n, c).s
    		for i := min; i < max; i++ {
    			want := i / c
    			got := (i * m) >> (n + uint(s))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 22:02:07 UTC 2019
    - 9.1K bytes
    - Viewed (0)
  4. src/debug/macho/fat.go

    	// Start with the magic number.
    	err := binary.Read(sr, binary.BigEndian, &ff.Magic)
    	if err != nil {
    		return nil, &FormatError{0, "error reading magic number", nil}
    	} else if ff.Magic != MagicFat {
    		// See if this is a Mach-O file via its magic number. The magic
    		// must be converted to little endian first though.
    		var buf [4]byte
    		binary.BigEndian.PutUint32(buf[:], ff.Magic)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/materialize_passthrough_op.mlir

    // CHECK-NEXT:    %[[ADD:.*]] = "tf.Add"(%[[ARG0]], %[[ARG1]]) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10xf32>
    // CHECK-NEXT:    %[[MAGIC:.*]] = "magic.op"(%[[ADD]], %[[ADD]]) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10x10xf32>
    // CHECK-NEXT:    return %[[MAGIC]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 30 10:34:48 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  6. src/debug/gosym/pclntab.go

    	case beMagic == go12magic:
    		t.binary, possibleVersion = binary.BigEndian, ver12
    	case leMagic == go116magic:
    		t.binary, possibleVersion = binary.LittleEndian, ver116
    	case beMagic == go116magic:
    		t.binary, possibleVersion = binary.BigEndian, ver116
    	case leMagic == go118magic:
    		t.binary, possibleVersion = binary.LittleEndian, ver118
    	case beMagic == go118magic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. src/debug/pe/file.go

    		// We need to read them first to determine the type and
    		// validity of optional header.
    		ohMagic   uint16
    		ohMagicSz = binary.Size(ohMagic)
    	)
    
    	// If optional header size is greater than 0 but less than its magic size, return error.
    	if sz < uint16(ohMagicSz) {
    		return nil, fmt.Errorf("optional header size is less than optional header magic size")
    	}
    
    	// read reads from io.ReadSeeke, r, into data.
    	var err error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/mlir_passthrough_op.pbtxt

    # CHECK:"tf.MlirPassthroughOp"
    # CHECK: mlir_module = "\0Afunc @main(%arg0 : tensor<10xf32>, %arg1 : tensor<10xf32>) -> tensor<10x10xf32> {\0A %add = \22tf.Add\22(%arg0, %arg1) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10xf32>\0A %ret = \22magic.op\22(%add, %add) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10x10xf32>\0A return %ret : tensor<10x10xf32>\0A}\0A"}> {device = ""} : (tensor<10xf32>, tensor<10xf32>) -> tensor<*xf32>
    
    node {
      name: "x"
      op: "Placeholder"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	}
    	defer f.Close()
    
    	var header [4]byte
    	if _, err = io.ReadFull(f, header[:]); err != nil {
    		return nil, fmt.Errorf("error reading magic number from %s: %v", name, err)
    	}
    
    	elfMagic := string(header[:])
    
    	// Match against supported file types.
    	if elfMagic == elf.ELFMAG {
    		f, err := b.openELF(name, start, limit, offset, relocationSymbol)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/atomic_test.go

    		}
    
    		if x.i != x.n {
    			t.Fatalf("wrong x.i after swap: x.i=%#x x.n=%#x", x.i, x.n)
    		}
    
    		if x.before != _magic || x.after != _magic {
    			t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, _magic, _magic)
    		}
    	}
    }
    
    func TestStorepNoWB(t *testing.T) {
    	var p [2]*int
    	for i := range p {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top