- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 214 for pstring (0.09 sec)
-
src/syscall/dir_plan9.go
func gbit64(b []byte) (uint64, []byte) { return byteorder.LeUint64(b), b[8:] } // gstring reads a string from b, prefixed with a 16-bit length in little-endian order. // It returns the string with the remaining slice of b and a boolean. If the length is // greater than the number of bytes in b, the boolean will be false. func gstring(b []byte) (string, []byte, bool) { n, b := gbit16(b) if int(n) > len(b) { return "", b, false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:32:38 UTC 2024 - 5.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/dir_plan9.go
return uint64(lo) | uint64(hi)<<32, b[8:] } // gstring reads a string from b, prefixed with a 16-bit length in little-endian order. // It returns the string with the remaining slice of b and a boolean. If the length is // greater than the number of bytes in b, the boolean will be false. func gstring(b []byte) (string, []byte, bool) { n, b := gbit16(b) if int(n) > len(b) { return "", b, false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 15 19:02:39 UTC 2021 - 5.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/asan_linkerx/main.go
func pstring(s *string) { println(*s) } func main() { all := []*string{ &S1, &S2, &S3, &S4, &S5, &S6, &S7, &S8, &S9, &S10, &p.S1, &p.S2, &p.S3, &p.S4, &p.S5, &p.S6, &p.S7, &p.S8, &p.S9, &p.S10, } for _, ps := range all { pstring(ps) } } var S1 string var S2 string var S3 string var S4 string var S5 string var S6 string var S7 string var S8 string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 471 bytes - Viewed (0) -
src/encoding/json/decode_test.go
PUint32 *uint32 PUint64 *uint64 PUintptr *uintptr PFloat32 *float32 PFloat64 *float64 String string PString *string Map map[string]Small MapP map[string]*Small PMap *map[string]Small PMapP *map[string]*Small EmptyMap map[string]Small NilMap map[string]Small Slice []Small SliceP []*Small PSlice *[]Small PSliceP *[]*Small
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
src/debug/pe/string.go
import ( "bytes" "encoding/binary" "fmt" "internal/saferio" "io" ) // cstring converts ASCII byte sequence b to string. // It stops once it finds 0 or reaches end of b. func cstring(b []byte) string { i := bytes.IndexByte(b, 0) if i == -1 { i = len(b) } return string(b[:i]) } // StringTable is a COFF string table. type StringTable []byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:06:17 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/icu.go
/* #cgo LDFLAGS: -licui18n.57 -licuuc.57 #include <stdlib.h> #include <unicode/ustring.h> #include <unicode/utypes.h> #include <unicode/localpointer.h> #include <unicode/ucasemap.h> */ import "C" import "unsafe" func doICU(tag, caser, input string) string { err := C.UErrorCode(0) loc := C.CString(tag) cm := C.ucasemap_open(loc, C.uint32_t(0), &err) buf := make([]byte, len(input)*4)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 1.4K bytes - Viewed (0) -
test/ken/string.out
Ian Lance Taylor <******@****.***> 1326931944 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 00:12:24 UTC 2012 - 49 bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/string.kt
*/ package org.gradle.kotlin.dsl.support import org.gradle.util.internal.TextUtil.convertLineSeparatorsToUnix import java.util.Locale fun String.normaliseLineSeparators(): String = convertLineSeparatorsToUnix(this) fun String.uppercaseFirstChar(): String =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 929 bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/cryptobyte/string.go
// started. package cryptobyte // import "golang.org/x/crypto/cryptobyte" // String represents a string of bytes. It provides methods for parsing // fixed-length and length-prefixed values from it. type String []byte // read advances a String by n bytes and returns them. If less than n bytes // remain, it returns nil. func (s *String) read(n int) []byte {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 5.2K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/impl/string.cc
#include "tensorflow/cc/experimental/libtf/impl/string.h" #include <unordered_set> // It is important for the container below to not invalidate pointers to // elements when elements are inserted, because the String class stores such // pointers. This rules out, for example, absl::flat_hash_set. using StringTable = std::unordered_set<std::string>; namespace tf { namespace libtf { namespace impl {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 28 21:37:07 UTC 2021 - 1.2K bytes - Viewed (0)