Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 117 for umagic (0.11 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    // selfDescribedCBOR is the CBOR encoding of the head of tag number 55799. This tag, specified in
    // RFC 8949 Section 3.4.6 "Self-Described CBOR", encloses all output from the encoder, has no
    // special semantics, and is used as a magic number to recognize CBOR-encoded data items.
    //
    // See https://www.rfc-editor.org/rfc/rfc8949.html#name-self-described-cbor.
    var selfDescribedCBOR = []byte{0xd9, 0xd9, 0xf7}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/path/filepath/match.go

    		matched, err := Match(pattern, n)
    		if err != nil {
    			return m, err
    		}
    		if matched {
    			m = append(m, Join(dir, n))
    		}
    	}
    	return
    }
    
    // hasMeta reports whether path contains any of the magic characters
    // recognized by Match.
    func hasMeta(path string) bool {
    	magicChars := `*?[`
    	if runtime.GOOS != "windows" {
    		magicChars = `*?[\`
    	}
    	return strings.ContainsAny(path, magicChars)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/runtime/symtab.go

    func moduledataverify1(datap *moduledata) {
    	// Check that the pclntab's format is valid.
    	hdr := datap.pcHeader
    	if hdr.magic != 0xfffffff1 || hdr.pad1 != 0 || hdr.pad2 != 0 ||
    		hdr.minLC != sys.PCQuantum || hdr.ptrSize != goarch.PtrSize || hdr.textStart != datap.text {
    		println("runtime: pcHeader: magic=", hex(hdr.magic), "pad1=", hdr.pad1, "pad2=", hdr.pad2,
    			"minLC=", hdr.minLC, "ptrSize=", hdr.ptrSize, "pcHeader.textStart=", hex(hdr.textStart),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        webServer.enqueue(
          MockResponse.Builder()
            .code(101)
            .setHeader("Connection", "Upgrade")
            .setHeader("Upgrade", "websocket")
            .setHeader("Sec-WebSocket-Accept", "magic")
            .build(),
        )
        webServer.enqueue(
          MockResponse.Builder()
            .socketPolicy(SocketPolicy.DisconnectAtStart)
            .build(),
        )
        val webSocket = newWebSocket()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. src/runtime/mksizeclasses.go

    	m := ^uint32(0)/uint32(c.size) + 1
    	for n := 0; n <= max; n++ {
    		if uint32((uint64(n)*uint64(m))>>32) != uint32(n/c.size) {
    			fmt.Printf("d=%d max=%d m=%d n=%d\n", d, max, m, n)
    			panic("bad 32-bit multiply magic")
    		}
    	}
    }
    
    func printComment(w io.Writer, classes []class) {
    	fmt.Fprintf(w, "// %-5s  %-9s  %-10s  %-7s  %-10s  %-9s  %-9s\n", "class", "bytes/obj", "bytes/span", "objects", "tail waste", "max waste", "min align")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/generic.rules

            (ZeroExt16to32 x))
          (Const64 <typ.UInt64> [16+umagic16(c).s-1])))
    (Div16u x (Const16 [c])) && umagicOK16(c) && config.RegSize == 4 && c&1 == 0 =>
      (Trunc32to16
        (Rsh32Ux64 <typ.UInt32>
          (Mul32 <typ.UInt32>
            (Const32 <typ.UInt32> [int32(1<<15+(umagic16(c).m+1)/2)])
            (Rsh32Ux64 <typ.UInt32> (ZeroExt16to32 x) (Const64 <typ.UInt64> [1])))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/objfile.go

    	}
    	if w.pkgpath == "" {
    		log.Fatal("empty package path")
    	}
    	if ctxt.IsAsm {
    		flags |= goobj.ObjFlagFromAssembly
    	}
    	if ctxt.Std {
    		flags |= goobj.ObjFlagStd
    	}
    	h := goobj.Header{
    		Magic:       goobj.Magic,
    		Fingerprint: ctxt.Fingerprint,
    		Flags:       flags,
    	}
    	h.Write(w.Writer)
    
    	// String table
    	w.StringTable()
    
    	// Autolib
    	h.Offsets[goobj.BlkAutolib] = w.Offset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. src/syscall/syscall_darwin.go

    	var buf [CTL_MAXNAME + 2]_C_int
    	n := uintptr(CTL_MAXNAME) * siz
    
    	p := (*byte)(unsafe.Pointer(&buf[0]))
    	bytes, err := ByteSliceFromString(name)
    	if err != nil {
    		return nil, err
    	}
    
    	// Magic sysctl: "setting" 0.3 to a string name
    	// lets you read back the array of integers form.
    	if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
    		return nil, err
    	}
    	return buf[0 : n/siz], nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/hash/crc32/crc32_test.go

    	{0xc89a94f7, 0xf0b1168e, "It's a tiny change to the code and not completely disgusting. - Bob Manchek", "crc\x01ʇ\x91M\x84g1\xe8", "crc\x01wB\x84\x81#\x98\f\xab"},
    	{0xab3abe14, 0x572b74e2, "size:  a.out:  bad magic", "crc\x01ʇ\x91M\x8a\x0f\xad\b", "crc\x01wB\x84\x81\x80\xc9n\xd8"},
    	{0xbab102b6, 0x8a58a6d5, "The major problem is with sendmail.  -Mark Horton", "crc\x01ʇ\x91M\a\xf0\xb3\x15", "crc\x01wB\x84\x81liS\xcc"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. pkg/wasm/cache.go

    	now := time.Now()
    	return now.Sub(ce.last) > expiry
    }
    
    var wasmMagicNumber = []byte{0x00, 0x61, 0x73, 0x6d}
    
    func isValidWasmBinary(in []byte) bool {
    	// Wasm file header is 8 bytes (magic number + version).
    	return len(in) >= 8 && bytes.Equal(in[:4], wasmMagicNumber)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top