- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 3,660 for pats (0.04 sec)
-
src/os/user/listgroups_unix.go
continue } // groupname:password:GID parts := bytes.Split(line[:listIdx], colon) if len(parts) != 3 || len(parts[0]) == 0 { continue } gid := string(parts[2]) // Make sure it's numeric and not the same as primary GID. numGid, err := strconv.Atoi(gid) if err != nil || numGid == primaryGid { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/config/analysis/analyzers/util/hosts.go
"strings" "istio.io/istio/pkg/config/resource" ) type ScopedFqdn string // GetScopeAndFqdn splits ScopedFqdn back to scope namespace and fqdn parts func (s ScopedFqdn) GetScopeAndFqdn() (string, string) { parts := strings.SplitN(string(s), "/", 2) return parts[0], parts[1] } // InScopeOf returns true if ns is in the scope of ScopedFqdn func (s ScopedFqdn) InScopeOf(ns string) bool { scope, fqdn := s.GetScopeAndFqdn()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 28 04:57:33 UTC 2022 - 2.9K bytes - Viewed (0) -
pkg/config/analysis/legacy/source/kube/origin.go
) // FriendlyName implements resource.Origin func (o *Origin) FriendlyName() string { parts := strings.Split(o.FullName.String(), "/") if len(parts) == 2 { // The istioctl convention is <type> [<namespace>/]<name>. // This code has no notion of a default and always shows the namespace. return fmt.Sprintf("%s %s/%s", o.Type.Kind, parts[0], parts[1]) } return fmt.Sprintf("%s %s", o.Type.Kind, o.FullName.String()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert.go
func jsonTag(field reflect.StructField) (string, bool) { structTag := field.Tag.Get("json") if len(structTag) == 0 { return "", false } parts := strings.Split(structTag, ",") tag := parts[0] if tag == "-" { tag = "" } omitempty := false parts = parts[1:] for _, part := range parts { if part == "omitempty" { omitempty = true break } } return tag, omitempty }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 4.9K bytes - Viewed (0) -
src/mime/multipart/formdata.go
// ReadForm parses an entire multipart message whose parts have // a Content-Disposition of "form-data". // It stores up to maxMemory bytes + 10MB (reserved for non-file parts) // in memory. File parts which can't be stored in memory will be stored on // disk in temporary files. // It returns [ErrMessageTooLarge] if all non-file parts can't be stored in // memory. func (r *Reader) ReadForm(maxMemory int64) (*Form, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 7.7K bytes - Viewed (0) -
security/pkg/util/jwtutil.go
return structuredPayload.Aud, true } func parseJwtClaims(token string) (map[string]any, error) { parts := strings.Split(token, ".") if len(parts) != 3 { return nil, fmt.Errorf("token contains an invalid number of segments: %d, expected: 3", len(parts)) } // Decode the second part. claimBytes, err := DecodeJwtPart(parts[1]) if err != nil { return nil, err } dec := json.NewDecoder(bytes.NewBuffer(claimBytes))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 16:07:11 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/config/gateway/kube/gatewayapi.go
// Istio Gateway corresponding to a Kubernetes Gateway API gateway. func IsInternalGatewayReference(gatewayName string) bool { parts := strings.SplitN(gatewayName, "/", 2) if len(parts) == 2 { gatewayName = parts[1] } return strings.Contains(gatewayName, fmt.Sprintf("-%s-", constants.KubernetesGatewayName)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 05 01:28:52 UTC 2023 - 1.3K bytes - Viewed (0) -
internal/event/target/nats_tls_contrib_test.go
* See the License for the specific language governing permissions and * limitations under the License. */ package target import ( "path" "path/filepath" "testing" xnet "github.com/minio/pkg/v3/net" natsserver "github.com/nats-io/nats-server/v2/test" ) func TestNatsConnTLSCustomCA(t *testing.T) { s, opts := natsserver.RunServerWithConfig(filepath.Join("testdata", "contrib", "nats_tls.conf"))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
Enumeration<?> parts = nameSequence.getObjects(); while ( parts.hasMoreElements() ) { Object part = parts.nextElement(); DERGeneralString stringPart = ASN1Util.as(DERGeneralString.class, part); nameBuilder.append(stringPart.getString()); if ( parts.hasMoreElements() ) nameBuilder.append('/');
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 5.7K bytes - Viewed (0)