- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 75 for stringSlice (0.18 sec)
-
src/runtime/os3_plan9.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import ( "internal/abi" "internal/goarch" "internal/stringslite" "unsafe" ) // May run during STW, so write barriers are not allowed. // //go:nowritebarrierrec func sighandler(_ureg *ureg, note *byte, gp *g) int { gsignal := getg() mp := gsignal.m
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 4K bytes - Viewed (0) -
src/strconv/atoc.go
package strconv import "internal/stringslite" const fnParseComplex = "ParseComplex" // convErr splits an error returned by parseFloatPrefix // into a syntax or range error for ParseComplex. func convErr(err error, s string) (syntax, range_ error) { if x, ok := err.(*NumError); ok { x.Func = fnParseComplex x.Num = stringslite.Clone(s) if x.Err == ErrRange { return nil, x } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:26 UTC 2024 - 3.1K bytes - Viewed (0) -
src/internal/stringslite/strings.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package stringslite implements a subset of strings, // only using packages that may be imported by "os". // // Tests for these functions are in the strings package. package stringslite import ( "internal/bytealg" "unsafe" ) func HasPrefix(s, prefix string) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 01:23:42 UTC 2024 - 2.9K bytes - Viewed (0) -
src/strings/strings.go
return b.String() } // HasPrefix reports whether the string s begins with prefix. func HasPrefix(s, prefix string) bool { return stringslite.HasPrefix(s, prefix) } // HasSuffix reports whether the string s ends with suffix. func HasSuffix(s, suffix string) bool { return stringslite.HasSuffix(s, suffix) } // Map returns a copy of the string s with all its characters modified
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:48:16 UTC 2024 - 31.2K bytes - Viewed (0) -
src/net/interface_plan9.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package net import ( "errors" "internal/itoa" "internal/stringslite" "os" ) // If the ifindex is zero, interfaceTable returns mappings of all // network interfaces. Otherwise it returns a mapping of a specific // interface. func interfaceTable(ifindex int) ([]Interface, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 4.7K bytes - Viewed (0) -
src/internal/filepathlite/path_windows.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package filepathlite import ( "internal/bytealg" "internal/stringslite" "syscall" ) const ( Separator = '\\' // OS-specific path separator ListSeparator = ';' // OS-specific path list separator ) func IsPathSeparator(c uint8) bool { return c == '\\' || c == '/'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 8.5K bytes - Viewed (0) -
docs/multi-user/README.md
``` { "Version": "2012-10-17", "Statement": [ { "Action": ["s3:ListBucket"], "Effect": "Allow", "Resource": ["arn:aws:s3:::mybucket"], "Condition": {"StringLike": {"s3:prefix": ["${aws:username}/*"]}} }, { "Action": [ "s3:GetObject", "s3:PutObject" ], "Effect": "Allow", "Resource": ["arn:aws:s3:::mybucket/${aws:username}/*"] } ]
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Mar 21 06:38:06 UTC 2023 - 8K bytes - Viewed (0) -
src/runtime/preempt.go
return false, 0 } // Check the inner-most name u, uf := newInlineUnwinder(f, pc) name := u.srcFunc(uf).name() if stringslite.HasPrefix(name, "runtime.") || stringslite.HasPrefix(name, "runtime/internal/") || stringslite.HasPrefix(name, "reflect.") { // For now we never async preempt the runtime or // anything closely tied to the runtime. Known issues
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 15.1K bytes - Viewed (0) -
src/cmd/internal/objabi/pkgspecial.go
"internal/chacha8rand", "internal/coverage/rtcov", "internal/cpu", "internal/goarch", "internal/godebugs", "internal/goexperiment", "internal/goos", "internal/profilerecord", "internal/stringslite", } // extraNoInstrumentPkgs is the set of packages in addition to runtimePkgs that // should have NoInstrument set. var extraNoInstrumentPkgs = []string{ "runtime/race", "runtime/msan", "runtime/asan",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 02:32:19 UTC 2024 - 3.8K bytes - Viewed (0) -
src/syscall/fs_wasip1.go
if buf[len(buf)-1] != '/' && isDir(file) { buf = append(buf, '/') } return unsafe.String(&buf[0], len(buf)) } func isAbs(path string) bool { return stringslite.HasPrefix(path, "/") } func isDir(path string) bool { return stringslite.HasSuffix(path, "/") } // preparePath returns the preopen file descriptor of the directory to perform
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24.1K bytes - Viewed (0)