Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for readType (0.29 sec)

  1. src/cmd/link/internal/ld/elf.go

    		ph := newElfPhdr()
    		ph.Type = elf.PT_INTERP
    		ph.Flags = elf.PF_R
    		phsh(ph, sh)
    	}
    
    	if ctxt.HeadType == objabi.Hnetbsd || ctxt.HeadType == objabi.Hopenbsd || ctxt.HeadType == objabi.Hfreebsd {
    		var sh *ElfShdr
    		switch ctxt.HeadType {
    		case objabi.Hnetbsd:
    			sh = elfshname(".note.netbsd.ident")
    			resoff -= int64(elfnetbsdsig(sh, uint64(startva), uint64(resoff)))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    	// Also leave it enabled on Solaris which doesn't support
    	// statically linked binaries.
    	if ctxt.BuildMode == BuildModeExe {
    		if havedynamic == 0 && ctxt.HeadType != objabi.Hdarwin && ctxt.HeadType != objabi.Hsolaris {
    			*FlagD = true
    		}
    	}
    
    	if ctxt.LinkMode == LinkExternal && ctxt.Arch.Family == sys.PPC64 && buildcfg.GOOS != "aix" {
    		toc := ctxt.loader.LookupOrCreateSym(".TOC.", 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    type ResourceBody interface {
    	// pack packs a Resource except for its header.
    	pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error)
    
    	// realType returns the actual type of the Resource. This is used to
    	// fill in the header Type field.
    	realType() Type
    
    	// GoString implements fmt.GoStringer.GoString.
    	GoString() string
    }
    
    // pack appends the wire format of the Resource to msg.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	}
    	// Test error after ReadByte.
    	_, _, err = r.ReadRune() // reset state
    	if err != nil {
    		t.Error("unexpected error on ReadRune (2):", err)
    	}
    	for range buf {
    		_, err = r.ReadByte()
    		if err != nil {
    			t.Error("unexpected error on ReadByte (2):", err)
    		}
    	}
    	if r.UnreadRune() == nil {
    		t.Error("expected error after ReadByte")
    	}
    	// Test error after UnreadByte.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/dwarf.go

    	if *FlagW { // disable dwarf
    		return false
    	}
    	if ctxt.HeadType == objabi.Hplan9 || ctxt.HeadType == objabi.Hjs || ctxt.HeadType == objabi.Hwasip1 {
    		return false
    	}
    
    	if ctxt.LinkMode == LinkExternal {
    		switch {
    		case ctxt.IsELF:
    		case ctxt.HeadType == objabi.Hdarwin:
    		case ctxt.HeadType == objabi.Hwindows:
    		case ctxt.HeadType == objabi.Haix:
    			res, err := dwarf.IsDWARFEnabledOnAIXLd(ctxt.extld())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  6. src/strings/strings_test.go

    		var res bytes.Buffer
    		for {
    			b, e := reader.ReadByte()
    			if e == io.EOF {
    				break
    			}
    			if e != nil {
    				t.Errorf("Reading %q: %s", s, e)
    				break
    			}
    			res.WriteByte(b)
    			// unread and read again
    			e = reader.UnreadByte()
    			if e != nil {
    				t.Errorf("Unreading %q: %s", s, e)
    				break
    			}
    			b1, e := reader.ReadByte()
    			if e != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

          // CastOp if the shape of types doesn't exactly match.
          Type read_type = read_variable_op.getValue().getType();
          if (read_type != last_store.getValue().getType()) {
            OpBuilder builder(last_store);
            builder.setInsertionPointAfter(last_store);
            auto cast = builder.create<TF::CastOp>(
                last_store.getLoc(), read_type, last_store.getValue(),
                /*Truncate=*/builder.getBoolAttr(false));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        v1Creator.setString(1, "BBbb")
        v1Creator.commit()
    
        cache["k1"]!!.use { snapshot1 ->
          val inV1 = snapshot1.getSource(0).buffer()
          assertThat(inV1.readByte()).isEqualTo('A'.code.toByte())
          assertThat(inV1.readByte()).isEqualTo('A'.code.toByte())
    
          val v1Updater = cache.edit("k1")!!
          v1Updater.setString(0, "CCcc")
          v1Updater.setString(1, "DDdd")
          v1Updater.commit()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top