- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 80 for stringData (0.18 sec)
-
samples/jwt-server/jwt-server.yaml
kind: Secret metadata: name: jwt-cert-key-secret # command to generate certificate # use the generated server.crt, server.key by following https://github.com/istio/istio/blob/master/samples/jwt-server/testdata/README.MD stringData: server.crt: | -----BEGIN CERTIFICATE----- MIIDjzCCAnegAwIBAgIUfIuuQDfWakIpZ7bZAuuLUWhSm2AwDQYJKoZIhvcNAQEL BQAwRjELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkFaMRMwEQYDVQQKDApBY21lLCBJ
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 5.1K bytes - Viewed (0) -
src/runtime/tracebuf.go
// Space reserved this way can be filled in with the varintAt method. func (buf *traceBuf) varintReserve() int { p := buf.pos buf.pos += traceBytesPerNumber return p } // stringData appends s's data directly to buf. func (buf *traceBuf) stringData(s string) { buf.pos += copy(buf.arr[buf.pos:], s) } func (buf *traceBuf) available(size int) bool { return len(buf.arr)-buf.pos >= size }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 6.8K bytes - Viewed (0) -
src/runtime/tracestring.go
if flushed { // Annotate the batch as containing strings. w.byte(byte(traceEvStrings)) } // Write out the string. w.byte(byte(traceEvString)) w.varint(id) w.varint(uint64(len(s))) w.stringData(s) // Store back buf in case it was updated during ensure. t.buf = w.traceBuf unlock(&t.lock) } // reset clears the string table and flushes any buffers it has. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/export_test.go
return n } // TestFrontend is a test-only frontend. // It assumes 64 bit integers and pointers. type TestFrontend struct { t testing.TB ctxt *obj.Link f *ir.Func } func (TestFrontend) StringData(s string) *obj.LSym { return nil } func (d TestFrontend) SplitSlot(parent *LocalSlot, suffix string, offset int64, t *types.Type) LocalSlot { return LocalSlot{N: parent.N, Type: t, Off: offset} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 3.2K bytes - Viewed (0) -
src/unsafe/unsafe.go
// must not be modified afterwards. func String(ptr *byte, len IntegerType) string // StringData returns a pointer to the underlying bytes of str. // For an empty string the return value is unspecified, and may be nil. // // Since Go strings are immutable, the bytes returned by StringData // must not be modified.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:45:20 UTC 2024 - 12.1K bytes - Viewed (0) -
pkg/volume/configmap/configmap.go
fileProjection.Data = data fileProjection.Mode = *defaultMode payload[name] = fileProjection } } else { for _, ktp := range mappings { if stringData, ok := configMap.Data[ktp.Key]; ok { fileProjection.Data = []byte(stringData) } else if binaryData, ok := configMap.BinaryData[ktp.Key]; ok { fileProjection.Data = binaryData } else { if optional { continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 10K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go
func toBytes(s string) []byte { // unsafe.StringData is unspecified for the empty string, so we provide a strict interpretation if len(s) == 0 { return nil } // Copied from go 1.20.1 os.File.WriteString // https://github.com/golang/go/blob/202a1a57064127c3f19d96df57b9f9586145e21c/src/os/file.go#L246 return unsafe.Slice(unsafe.StringData(s), len(s)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 9.8K bytes - Viewed (0) -
pkg/apis/core/v1/conversion.go
if err := autoConvert_v1_Secret_To_core_Secret(in, out, s); err != nil { return err } // StringData overwrites Data if len(in.StringData) > 0 { if out.Data == nil { out.Data = map[string][]byte{} } for k, v := range in.StringData { out.Data[k] = []byte(v) } } return nil } // +k8s:conversion-fn=copy-only
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:30:55 UTC 2024 - 19K bytes - Viewed (0) -
src/strings/example_test.go
package strings_test import ( "fmt" "strings" "unicode" "unsafe" ) func ExampleClone() { s := "abc" clone := strings.Clone(s) fmt.Println(s == clone) fmt.Println(unsafe.StringData(s) == unsafe.StringData(clone)) // Output: // true // false } func ExampleBuilder() { var b strings.Builder for i := 3; i >= 1; i-- { fmt.Fprintf(&b, "%d...", i) } b.WriteString("ignition")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:05:38 UTC 2023 - 10.7K bytes - Viewed (0) -
src/runtime/heapdump.go
} else { pkgpath := rt.nameOff(x.PkgPath).Name() name := rt.name() dumpint(uint64(uintptr(len(pkgpath)) + 1 + uintptr(len(name)))) dwrite(unsafe.Pointer(unsafe.StringData(pkgpath)), uintptr(len(pkgpath))) dwritebyte('.') dwrite(unsafe.Pointer(unsafe.StringData(name)), uintptr(len(name))) } dumpbool(t.Kind_&abi.KindDirectIface == 0 || t.PtrBytes != 0) } // dump an object.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 17.6K bytes - Viewed (0)