Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for umagic (0.31 sec)

  1. src/cmd/compile/internal/ssa/magic.go

    	}
    	M.SetBit(M, int(n), 0)
    	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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/mlir_passthrough_op.pbtxt

        key: "mlir_module"
        value {
          s: "\nfunc @main(%arg0 : tensor<10xf32>, %arg1 : tensor<10xf32>) -> tensor<10x10xf32> {\n   %add = \"tf.Add\"(%arg0, %arg1) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10xf32>\n   %ret = \"magic.op\"(%add, %add) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10x10xf32>\n   return %ret : tensor<10x10xf32>\n}\n"
        }
      }
    }
    node {
      name: "Identity"
      op: "Identity"
      input: "MlirPassthroughOp"
      attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/archive/tar/format.go

    	trailer := string(b.toSTAR().trailer())
    	switch {
    	case magic == magicUSTAR && trailer == trailerSTAR:
    		return formatSTAR
    	case magic == magicUSTAR:
    		return FormatUSTAR | FormatPAX
    	case magic == magicGNU && version == versionGNU:
    		return FormatGNU
    	default:
    		return formatV7
    	}
    }
    
    // setFormat writes the magic values necessary for specified format
    // and then updates the checksum accordingly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K 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/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)
  8. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <tika:uti>com.corel.wordperfect.doc</tika:uti>
        <magic priority="50">
          <match value="application/vnd.wordperfect;" type="string" offset="0"/>
        </magic>
        <magic priority="40">
          <match value="0xFF575043" type="big32" offset="0"/> <!-- ÿWPC -->
        </magic>
        <!-- If magic for the different versions doesn't work, fall back to glob -->
        <glob pattern="*.wpd"/>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Sep 21 06:46:43 UTC 2023
    - 298.5K bytes
    - Viewed (0)
  9. src/image/format.go

    }
    
    // match reports whether magic matches b. Magic may contain "?" wildcards.
    func match(magic string, b []byte) bool {
    	if len(magic) != len(b) {
    		return false
    	}
    	for i, c := range b {
    		if magic[i] != c && magic[i] != '?' {
    			return false
    		}
    	}
    	return true
    }
    
    // sniff determines the format of r's data.
    func sniff(r reader) format {
    	formats, _ := atomicFormats.Load().([]format)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/hash/adler32/adler32.go

    const (
    	magic         = "adl\x01"
    	marshaledSize = len(magic) + 4
    )
    
    func (d *digest) MarshalBinary() ([]byte, error) {
    	b := make([]byte, 0, marshaledSize)
    	b = append(b, magic...)
    	b = byteorder.BeAppendUint32(b, uint32(*d))
    	return b, nil
    }
    
    func (d *digest) UnmarshalBinary(b []byte) error {
    	if len(b) < len(magic) || string(b[:len(magic)]) != magic {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top