- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 266 for umagic (0.17 sec)
-
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) -
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) -
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) -
test/fixedbugs/bug329.go
Y int } type Struct struct { X complex128 } const magic = 1 + 2i func (Value) Complex(x complex128) { if x != magic { println(x) panic("bad complex magic") } } func f(x *byte, y, z int) complex128 { return magic } func (Value) Struct(x Struct) { if x.X != magic { println(x.X) panic("bad struct magic") } } func f1(x *byte, y, z int) Struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 707 bytes - Viewed (0) -
src/cmd/go/testdata/script/goflags.txt
go env stdout GOFLAGS # Flags listed in GOFLAGS should be safe to duplicate on the command line. env GOFLAGS=-tags=magic go list -tags=magic go test -tags=magic -c -o $devnull go vet -tags=magic # GOFLAGS uses the same quoting rules (quoted.Split) as the rest of # the go command env variables env GOFLAGS='"-tags=magic wizardry"' go list -- foo_test.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 16:47:27 UTC 2022 - 1.5K bytes - Viewed (0) -
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) -
src/sync/atomic/atomic_test.go
k := SwapInt32(&x.i, delta) if x.i != delta || k != j { t.Fatalf("delta=%d i=%d j=%d k=%d", delta, x.i, j, k) } j = delta } if x.before != magic32 || x.after != magic32 { t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magic32, magic32) } } func TestSwapInt32Method(t *testing.T) { var x struct { before int32 i Int32 after int32 } x.before = magic32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0) -
src/debug/plan9obj/file.go
// Read and decode Plan 9 magic var magic [4]byte if _, err := r.ReadAt(magic[:], 0); err != nil { return nil, err } _, err := parseMagic(magic[:]) if err != nil { return nil, err } ph := new(prog) if err := binary.Read(sr, binary.BigEndian, ph); err != nil { return nil, err } f := &File{FileHeader: FileHeader{ Magic: ph.Magic, Bss: ph.Bss,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 7.2K bytes - Viewed (0) -
src/runtime/sys_darwin_arm64.go
var k pthreadkey err := g0_pthread_key_create(&k, 0) if err != 0 { abort() } const magic = 0xc476c475c47957 err = g0_pthread_setspecific(k, magic) if err != 0 { abort() } for i, x := range tlsbase { if x == magic { *tlsg = uintptr(i * goarch.PtrSize) g0_pthread_setspecific(k, 0) return } } abort()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 30 03:11:18 UTC 2021 - 1.7K bytes - Viewed (0) -
src/cmd/internal/codesign/codesign.go
out = put32be(out, b.offset) return out } const blobSize = 2 * 4 type SuperBlob struct { magic uint32 // magic number length uint32 // total length of SuperBlob count uint32 // number of index entries following // blobs []Blob } func (s *SuperBlob) put(out []byte) []byte { out = put32be(out, s.magic) out = put32be(out, s.length) out = put32be(out, s.count) return out }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 29 14:23:19 UTC 2022 - 8.3K bytes - Viewed (0)