Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for umagic (0.25 sec)

  1. src/compress/bzip2/bzip2.go

    const bzip2FinalMagic = 0x177245385090
    
    // setup parses the bzip2 header.
    func (bz2 *reader) setup(needMagic bool) error {
    	br := &bz2.br
    
    	if needMagic {
    		magic := br.ReadBits(16)
    		if magic != bzip2FileMagic {
    			return StructuralError("bad magic value")
    		}
    	}
    
    	t := br.ReadBits(8)
    	if t != 'h' {
    		return StructuralError("non-Huffman entropy encoding")
    	}
    
    	level := br.ReadBits(8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/objfile.go

    func (h *Header) Read(r *Reader) error {
    	b := r.BytesAt(0, len(Magic))
    	h.Magic = string(b)
    	if h.Magic != Magic {
    		return errors.New("wrong magic, not a Go object file")
    	}
    	off := uint32(len(h.Magic))
    	copy(h.Fingerprint[:], r.BytesAt(off, len(h.Fingerprint)))
    	off += 8
    	h.Flags = r.uint32At(off)
    	off += 4
    	for i := range h.Offsets {
    		h.Offsets[i] = r.uint32At(off)
    		off += 4
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        }
    }
    
    
    private
    fun IntegrationTest.addDebugProperties() {
        // TODO Move magic property out
        if (project.hasProperty("org.gradle.integtest.debug")) {
            systemProperties["org.gradle.integtest.debug"] = "true"
            testLogging.showStandardStreams = true
        }
        // TODO Move magic property out
        if (project.hasProperty("org.gradle.integtest.verbose")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/time/zoneinfo_read.go

    // (for example, the content of /etc/localtime on Unix systems).
    func LoadLocationFromTZData(name string, data []byte) (*Location, error) {
    	d := dataIO{data, false}
    
    	// 4-byte magic "TZif"
    	if magic := d.read(4); string(magic) != "TZif" {
    		return nil, errBadData
    	}
    
    	// 1-byte version, then 15 bytes of padding
    	var version int
    	var p []byte
    	if p = d.read(16); len(p) != 16 {
    		return nil, errBadData
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/DefaultConvention.java

                        return result;
                    }
                }
                return DynamicInvokeResult.notFound();
            }
    
            @Nullable
            @SuppressWarnings("unused") // Groovy magic method
            public Object propertyMissing(String name) {
                return getProperty(name);
            }
    
            @Override
            public DynamicInvokeResult trySetProperty(String name, @Nullable Object value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. src/debug/buildinfo/buildinfo.go

    		mod = mod[16 : len(mod)-16]
    	} else {
    		mod = ""
    	}
    
    	return vers, mod, nil
    }
    
    func hasPlan9Magic(magic []byte) bool {
    	if len(magic) >= 4 {
    		m := binary.BigEndian.Uint32(magic)
    		switch m {
    		case plan9obj.Magic386, plan9obj.MagicAMD64, plan9obj.MagicARM:
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/flag/flag_test.go

    func TestExitCode(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	magic := 123
    	if os.Getenv("GO_CHILD_FLAG") != "" {
    		fs := NewFlagSet("test", ExitOnError)
    		if os.Getenv("GO_CHILD_FLAG_HANDLE") != "" {
    			var b bool
    			fs.BoolVar(&b, os.Getenv("GO_CHILD_FLAG_HANDLE"), false, "")
    		}
    		fs.Parse([]string{os.Getenv("GO_CHILD_FLAG")})
    		os.Exit(magic)
    	}
    
    	tests := []struct {
    		flag       string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/macho_combine_dwarf.go

    	if textsect == nil {
    		return fmt.Errorf("missing __text section")
    	}
    
    	cmdOffset := unsafe.Sizeof(exem.FileHeader)
    	if is64bit := exem.Magic == macho.Magic64; is64bit {
    		// mach_header_64 has one extra uint32.
    		cmdOffset += unsafe.Sizeof(exem.Magic)
    	}
    	dwarfCmdOffset := uint32(cmdOffset) + exem.FileHeader.Cmdsz
    	availablePadding := textsect.Offset - dwarfCmdOffset
    	if availablePadding < realdwarf.Len {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    		f, err := b.openFatMachO(name, start, limit, offset)
    		if err != nil {
    			return nil, fmt.Errorf("error reading fat Mach-O file %s: %v", name, err)
    		}
    		return f, nil
    	}
    
    	peMagic := string(header[:2])
    	if peMagic == "MZ" {
    		f, err := b.openPE(name, start, limit, offset)
    		if err != nil {
    			return nil, fmt.Errorf("error reading PE file %s: %v", name, err)
    		}
    		return f, 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/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    #include <linux/input.h>
    #include <linux/kcm.h>
    #include <linux/kexec.h>
    #include <linux/keyctl.h>
    #include <linux/landlock.h>
    #include <linux/loop.h>
    #include <linux/lwtunnel.h>
    #include <linux/magic.h>
    #include <linux/memfd.h>
    #include <linux/module.h>
    #include <linux/mount.h>
    #include <linux/netfilter/nfnetlink.h>
    #include <linux/netfilter/nf_tables.h>
    #include <linux/netlink.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top