- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 55 for pad_string (0.22 sec)
-
src/fmt/print.go
p.buf.writeString(")(") if u == 0 { p.buf.writeString(nilString) } else { p.fmt0x64(uint64(u), true) } p.buf.writeByte(')') } else { if u == 0 { p.fmt.padString(nilAngleString) } else { p.fmt0x64(uint64(u), !p.fmt.sharp) } } case 'p': p.fmt0x64(uint64(u), !p.fmt.sharp) case 'b', 'o', 'd', 'x', 'X': p.fmtInteger(uint64(u), unsigned, verb)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
src/cmd/link/internal/loader/symbolbuilder.go
if off+strLen+1 > int64(len(sb.data)) { panic("attempt to write past end of buffer") } copy(sb.data[off:off+strLen], str) sb.data[off+strLen] = 0 return off + strLen + 1 } func (sb *SymbolBuilder) Addstring(str string) int64 { if sb.kind == 0 { sb.kind = sym.SNOPTRDATA } r := sb.size sb.data = append(sb.data, str...) sb.data = append(sb.data, 0) sb.size = int64(len(sb.data)) return r }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 15:25:19 UTC 2023 - 13.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho.go
symstr.AddUint8('_') // replace "·" as ".", because DTrace cannot handle it. name := strings.Replace(ldr.SymExtname(s), "·", ".", -1) name = mangleABIName(ctxt, ldr, s, name) symstr.Addstring(name) if t := ldr.SymType(s); t == sym.SDYNIMPORT || t == sym.SHOSTOBJ || t == sym.SUNDEFEXT { symtab.AddUint8(0x01) // type N_EXT, external symbol
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 43.9K bytes - Viewed (0) -
src/cmd/internal/dwarf/dwarf.go
AddDWARFAddrSectionOffset(s Sym, t interface{}, ofs int64) CurrentOffset(s Sym) int64 RecordDclReference(from Sym, to Sym, dclIdx int, inlIndex int) RecordChildDieOffsets(s Sym, vars []*Var, offsets []int32) AddString(s Sym, v string) Logf(format string, args ...interface{}) } // AppendUleb128 appends v to b using DWARF's unsigned LEB128 encoding. func AppendUleb128(b []byte, v uint64) []byte { for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 43K bytes - Viewed (0) -
test-site/activator-launch-1.3.2.jar
scala.PartialFunction); } scala/collection/TraversableOnce$$anonfun$addString$1.class package scala.collection; public final synchronized class TraversableOnce$$anonfun$addString$1 extends scala.runtime.AbstractFunction1 implements scala.Serializable { private final scala.runtime.BooleanRef first$2; private final mutable.StringBuilder b$2; private final String sep$1; public final Object apply(Object); public void TraversableOnce$$anonfun$addString$1(scala.runtime.BooleanRef, mutable.StringBuilder, String);...
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.2M bytes - Viewed (1) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
Java8Compatibility.limit(buffer, limit); sink.putBytes(buffer); assertEquals(limit, buffer.limit()); assertEquals(limit, buffer.position()); } } }, PUT_STRING() { @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { char[] value = new char[random.nextInt(128)]; for (int i = 0; i < value.length; i++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 25.3K bytes - Viewed (0) -
src/cmd/internal/obj/dwarf.go
b := []byte{byte(i)} c.AddBytes(s, b) } func (c dwCtxt) AddBytes(s dwarf.Sym, b []byte) { ls := s.(*LSym) ls.WriteBytes(c.Link, ls.Size, b) } func (c dwCtxt) AddString(s dwarf.Sym, v string) { ls := s.(*LSym) ls.WriteString(c.Link, ls.Size, len(v), v) ls.WriteInt(c.Link, ls.Size, 1, 0) } func (c dwCtxt) AddAddress(s dwarf.Sym, data interface{}, value int64) { ls := s.(*LSym)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 20:40:28 UTC 2023 - 22K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/ptr_test.go
extern unsigned char *GoFn22();`, support: `//export GoFn22 func GoFn22() *byte { return (*byte)(C.malloc(1)) }`, body: `C.GoFn22()`, }, { // Passing a Go string is fine. name: "passstring", c: `#include <stddef.h> typedef struct { const char *p; ptrdiff_t n; } gostring23; gostring23 f23(gostring23 s) { return s; }`, imports: []string{"unsafe"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:49 UTC 2023 - 21.2K bytes - Viewed (0) -
src/cmd/internal/goobj/objfile.go
b [8]byte // scratch space for writing bytes } func NewWriter(wr *bio.Writer) *Writer { return &Writer{wr: wr, stringMap: make(map[string]uint32)} } func (w *Writer) AddString(s string) { if _, ok := w.stringMap[s]; ok { return } w.stringMap[s] = w.off w.RawString(s) } func (w *Writer) stringOff(s string) uint32 { off, ok := w.stringMap[s] if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
auto gradient_attr = mlir::SymbolRefAttr::get(builder_.getContext(), mlir_grad_func_name); auto grad_string = mlir::TF::TensorFlowDialect::GetGradientAttrName(); attributes.push_back(builder_.getNamedAttr(grad_string, gradient_attr)); } deferred_functions_.emplace(func_name.str(), attributes); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)