- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for fmtStr (0.14 sec)
-
src/archive/tar/writer.go
// templateV7Plus or writeRawFile. func (tw *Writer) templateV7Plus(hdr *Header, fmtStr stringFormatter, fmtNum numberFormatter) *block { tw.blk.reset() modTime := hdr.ModTime if modTime.IsZero() { modTime = time.Unix(0, 0) } v7 := tw.blk.toV7() v7.typeFlag()[0] = hdr.Typeflag fmtStr(v7.name(), hdr.Name) fmtStr(v7.linkName(), hdr.Linkname) fmtNum(v7.mode(), hdr.Mode)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
pkg/fieldpath/fieldpath.go
"sort" "strconv" "strings" "k8s.io/apimachinery/pkg/api/meta" "k8s.io/apimachinery/pkg/util/validation" ) // FormatMap formats map[string]string to a string. func FormatMap(m map[string]string) (fmtStr string) { // output with keys in sorted order to provide stable output keys := make([]string, 0, len(m)) var grow int for k, v := range m { keys = append(keys, k) // why add 4: (for =, \n, " and ")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 02 06:26:55 UTC 2023 - 3.7K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/sync/sync_test.go
f.calls = append(f.calls, fmt.Sprintf("updateNodeNetworkUnavailable %v %v", nodeName, unavailable)) return f.updateNodeNetworkUnavailableErr } func (f *fakeAPIs) EmitNodeWarningEvent(nodeName, reason, fmtStr string, args ...interface{}) { f.events = append(f.events, fakeEvent{nodeName, reason}) } func (f *fakeAPIs) ReportResult(err error) { f.logger.V(2).Info("ReportResult", "err", err) f.results = append(f.results, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 05 23:39:52 UTC 2023 - 7.6K bytes - Viewed (0) -
tests/integration/security/authz_test.go
})). BuildAll(nil, to). Apply() newTrafficTest(t, to.Instances()). RunViaIngress(func(t framework.TestContext, from ingress.Instance, to echo.Target) { host := func(fmtStr string) string { return fmt.Sprintf(fmtStr, to.Config().Service) } cases := []struct { host string path string ip string allow allowValue }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 50.1K bytes - Viewed (0) -
test/fixedbugs/bug184.go
// implicit interface conversion in multi-assignment during return return h() } func fmter() (s string, i int, t string) { return "%#x %q", 100, "hello" } func main() { b := g() bb, ok := b.(*Buffer) _, _, _ = b, bb, ok b, ok = i() bb, ok = b.(*Buffer) _, _, _ = b, bb, ok s := fmt.Sprintf(fmter()) if s != "0x64 \"hello\"" { println(s) panic("fail") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 849 bytes - Viewed (0) -
src/encoding/xml/typeinfo.go
} } // Validate the flags used. valid := true switch mode := finfo.flags & fMode; mode { case 0: finfo.flags |= fElement case fAttr, fCDATA, fCharData, fInnerXML, fComment, fAny, fAny | fAttr: if f.Name == xmlName || tag != "" && mode != fAttr { valid = false } default: // This will also catch multiple modes in a single field. valid = false } if finfo.flags&fMode == fAny {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:23:29 UTC 2023 - 9.6K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux_ppc64x.S
FOR_EACH_FPR stfd FOR_EACH_VR stvx // Set up Go ABI constant registers li %r0, 0 // Restore g pointer (r30 in Go ABI, which may have been clobbered by C) mr %r30, %r4 // Call fn mr %r12, %r3 mtctr %r3 bctrl FOR_EACH_GPR ld FOR_EACH_FPR lfd FOR_EACH_VR lvx ld %r2, 24(%r1) addi %r1, %r1, FRAME_SIZE ld %r0, 16(%r1) mtlr %r0 ld %r0, 8(%r1) mtcr %r0 blr #ifdef __ELF__
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 18:03:04 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/cgo/gcc_aix_ppc64.S
// Set up Go ABI constant registers // Must match _cgo_reginit in runtime package. xor 0, 0, 0 // Restore g pointer (r30 in Go ABI, which may have been clobbered by C) mr 30, 4 // Call fn mr 12, 3 mtctr 12 bctrl addi 1, 1, 296 bl restoreregs ld 2, 40(1) ld 0, 16(1) mtlr 0 blr saveregs: // Save callee-save registers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 22:38:02 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
// Handle objects compiled with -fno-plt. Rewrite local calls to avoid indirect calling. // These are 0 sized relocs. They mark the mtctr r12, or bctrl + ld r2,24(r1). case objabi.ElfRelocOffset + objabi.RelocType(elf.R_PPC64_PLTSEQ): if ldr.SymType(r.Sym()) == sym.STEXT { // This should be an mtctr instruction. Turn it into a nop. su := ldr.MakeSymbolUpdater(s) const MASK_OP_MTCTR = 63<<26 | 0x3FF<<11 | 0x1FF<<1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
src/crypto/aes/asm_ppc64x.s
ADD $0x10, PTR, PTR // addi 6,6,0x10 PTR to next 16 bytes of RCON MOVD $8, CNT // li 7,8 CNT = 8 VXOR ZERO, ZERO, ZERO // vxor 0,0,0 Zero to be zero :) MOVD CNT, CTR // mtctr 7 Set the counter to 8 (rounds) // The expanded decrypt key is the expanded encrypt key stored in reverse order. // Move OUTDEC to the last key location, and store in descending order. ADD $160, OUTDEC, OUTDEC
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:05:32 UTC 2024 - 18.6K bytes - Viewed (0)