Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for addgostring (0.16 sec)

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

    		nilSlice()
    	}
    
    	if ctxt.BuildMode == BuildModePlugin {
    		addgostring(ctxt, ldr, moduledata, "go:link.thispluginpath", objabi.PathToPrefix(*flagPluginPath))
    
    		pkghashes := ldr.CreateSymForUpdate("go:link.pkghashes", 0)
    		pkghashes.SetLocal(true)
    		pkghashes.SetType(sym.SRODATA)
    
    		for i, l := range ctxt.Library {
    			// pkghashes[i].name
    			addgostring(ctxt, ldr, pkghashes, fmt.Sprintf("go:link.pkgname.%d", i), l.Pkg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/data.go

    	for _, name := range strnames {
    		addstrdata(ctxt.Arch, ctxt.loader, name, strdata[name])
    	}
    }
    
    // addgostring adds str, as a Go string value, to s. symname is the name of the
    // symbol used to define the string data and must be unique per linked object.
    func addgostring(ctxt *Link, ldr *loader.Loader, s *loader.SymbolBuilder, symname, str string) {
    	sdata := ldr.CreateSymForUpdate(symname, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  3. src/internal/profile/encode.go

    		}
    	}
    	for _, f := range p.Function {
    		f.nameX = addString(strings, f.Name)
    		f.systemNameX = addString(strings, f.SystemName)
    		f.filenameX = addString(strings, f.Filename)
    	}
    
    	p.dropFramesX = addString(strings, p.DropFrames)
    	p.keepFramesX = addString(strings, p.KeepFrames)
    
    	if pt := p.PeriodType; pt != nil {
    		pt.typeX = addString(strings, pt.Type)
    		pt.unitX = addString(strings, pt.Unit)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    	}
    	for _, f := range p.Function {
    		f.nameX = addString(strings, f.Name)
    		f.systemNameX = addString(strings, f.SystemName)
    		f.filenameX = addString(strings, f.Filename)
    	}
    
    	p.dropFramesX = addString(strings, p.DropFrames)
    	p.keepFramesX = addString(strings, p.KeepFrames)
    
    	if pt := p.PeriodType; pt != nil {
    		pt.typeX = addString(strings, pt.Type)
    		pt.unitX = addString(strings, pt.Unit)
    	}
    
    	p.commentX = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. pilot/test/xdstest/extract.go

    		for _, lb := range ep.LbEndpoints {
    			var addrString string
    			switch lb.GetEndpoint().GetAddress().Address.(type) {
    			case *core.Address_SocketAddress:
    				addrString = fmt.Sprintf("%s:%d",
    					lb.GetEndpoint().Address.GetSocketAddress().Address, lb.GetEndpoint().Address.GetSocketAddress().GetPortValue())
    			case *core.Address_Pipe:
    				addrString = lb.GetEndpoint().Address.GetPipe().Path
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/providers/collections/kotlin/build.gradle.kts

        // Define a domain object set to hold strings
        val myStrings: DomainObjectSet<String> = project.objects.domainObjectSet(String::class)
    
        // Add some strings to the domain object set
        fun addString(value: String) {
            myStrings.add(value)
        }
    }
    // end::dos[]
    
    // tag::ndos[]
    // tag::ndol[]
    // tag::ndoc[]
    abstract class Person(val name: String)
    // end::ndol[]
    // end::ndoc[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/providers/collections/groovy/build.gradle

        // Define a domain object set to hold strings
        DomainObjectSet<String> myStrings = project.objects.domainObjectSet(String)
    
        // Add some strings to the domain object set
        void addString(String value) {
            myStrings.add(value)
        }
    }
    // end::dos[]
    
    // tag::ndos[]
    // tag::ndol[]
    // tag::ndoc[]
    abstract class Person {
        String name
    }
    // end::ndol[]
    // end::ndoc[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/string_utils.h

     public:
      explicit MiniDynamicBuffer(size_t max_length = kDefaultMaxLength)
          : offset_({0}), max_length_(max_length) {}
    
      // Add string to dynamic buffer by resizing the buffer and copying the data.
      absl::Status AddString(const char* str, size_t len);
    
      // Fill content into a buffer and returns the number of bytes stored.
      // The function allocates space for the buffer but does NOT take ownership.
      int WriteToBuffer(char** buffer);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/string_utils.cc

    #include <cstddef>
    #include <cstdint>
    #include <cstdlib>
    #include <cstring>
    #include <vector>
    
    #include "absl/status/status.h"
    
    namespace mlir::TFL {
    
    absl::Status MiniDynamicBuffer::AddString(const char* str, size_t len) {
      // If `data_.size() + len` is greater than `SIZE_MAX` then the left hand side
      // will overflow to something less than max_length_. After checking `len <=
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/objfile.go

    		ctxt.Diag("copy %s: unexpected length %d != %d", file.Name, written, file.Size)
    	}
    }
    
    func (w *writer) StringTable() {
    	w.AddString("")
    	for _, p := range w.ctxt.Imports {
    		w.AddString(p.Pkg)
    	}
    	for _, pkg := range w.pkglist {
    		w.AddString(pkg)
    	}
    	w.ctxt.traverseSyms(traverseAll, func(s *LSym) {
    		// Don't put names of builtins into the string table (to save
    		// space).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top