Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 195 for readType (0.46 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/FileLockPacketPayload.java

            byte version = dataInput.readByte();
            if (version != PROTOCOL_VERSION) {
                throw new IllegalArgumentException(String.format("Unexpected protocol version %s received in lock contention notification message", version));
            }
            long lockId = dataInput.readLong();
            FileLockPacketType type = readType(dataInput, length);
            return new FileLockPacketPayload(lockId, type);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MethodInvocationSerializer.java

                if (methodDetails == null) {
                    Class<?> declaringClass = readType();
                    String methodName = decoder.readString();
                    int paramCount = decoder.readSmallInt();
                    Class<?>[] paramTypes = new Class<?>[paramCount];
                    for (int i = 0; i < paramTypes.length; i++) {
                        paramTypes[i] = readType();
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. src/debug/dwarf/type.go

    	}
    	for _, t := range tf.arraytypes {
    		zeroArray(t)
    	}
    }
    
    // readType reads a type from r at off of name. It adds types to the
    // type cache, appends new typedef types to typedefs, and computes the
    // sizes of types. Callers should pass nil for typedefs; this is used
    // for internal recursion.
    func (d *Data) readType(name string, r typeReader, off Offset, typeCache map[Offset]Type, fixups *typeFixer) (Type, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  4. src/debug/dwarf/typeunit.go

    	}
    	if tu.cache != nil {
    		return tu.cache, nil
    	}
    
    	b := makeBuf(d, tu, tu.name, tu.off, tu.data)
    	r := &typeUnitReader{d: d, tu: tu, b: b}
    	t, err := d.readType(tu.name, r, tu.toff, make(map[Offset]Type), nil)
    	if err != nil {
    		return nil, err
    	}
    
    	tu.cache = t
    	return t, nil
    }
    
    // typeUnitReader is a typeReader for a tagTypeUnit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/go/doc/reader.go

    		fields = t.Fields
    		isStruct = true
    	case *ast.InterfaceType:
    		fields = t.Methods
    	}
    	if fields != nil {
    		list = fields.List
    	}
    	return
    }
    
    // readType processes a type declaration.
    func (r *reader) readType(decl *ast.GenDecl, spec *ast.TypeSpec) {
    	typ := r.lookupType(spec.Name.Name)
    	if typ == nil {
    		return // no name or blank name - ignore the type
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/swift/tasks/internal/SymbolHider.java

                this.position = position;
            }
    
            public int readByte() {
                return Byte.toUnsignedInt(dataBytes[position++]);
            }
    
            public int readWord() {
                return readByte() | readByte() << 8;
            }
    
            public int readDoubleWord() {
                return readByte() | readByte() << 8 | readByte() << 16 | readByte() << 24;
            }
    
            public byte[] readBytes(int count) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modindex/build_read.go

    func (r *importReader) syntaxError() {
    	if r.err == nil {
    		r.err = errSyntax
    	}
    }
    
    // readByte reads the next byte from the input, saves it in buf, and returns it.
    // If an error occurs, readByte records the error in r.err and returns 0.
    func (r *importReader) readByte() byte {
    	c, err := r.b.ReadByte()
    	if err == nil {
    		r.buf = append(r.buf, c)
    		if c == 0 {
    			err = errNUL
    		}
    	}
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 13K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/data_test.go

    import (
    	"cmd/internal/objabi"
    	"cmd/internal/sys"
    	"cmd/link/internal/loader"
    	"internal/buildcfg"
    	"testing"
    )
    
    func setUpContext(arch *sys.Arch, iself bool, ht objabi.HeadType, bm, lm string) *Link {
    	ctxt := linknew(arch)
    	ctxt.HeadType = ht
    	er := loader.ErrorReporter{}
    	ctxt.loader = loader.NewLoader(0, &er)
    	ctxt.BuildMode.Set(bm)
    	ctxt.LinkMode.Set(lm)
    	ctxt.IsELF = iself
    	ctxt.mustSetHeadType()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 19:20:01 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loong64/obj.go

    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    	case objabi.Hlinux: /* loong64 elf */
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 13:49:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/target.go

    	case BuildModeCArchive, BuildModeCShared, BuildModeShared, BuildModePIE, BuildModePlugin:
    		return t.IsELF || t.HeadType == objabi.Haix || t.HeadType == objabi.Hdarwin
    	default:
    		if t.HeadType == objabi.Hdarwin && t.IsARM64() {
    			// On darwin/ARM64, everything is PIE.
    			return true
    		}
    		return t.linkShared || (t.HeadType == objabi.Haix && t.LinkMode == LinkExternal)
    	}
    }
    
    //
    // Processor functions
    //
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:14:48 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top