Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 355 for IsString (0.12 sec)

  1. src/cmd/compile/internal/types/type.go

    var UntypedTypes = [...]*Type{
    	constant.Bool:    UntypedBool,
    	constant.String:  UntypedString,
    	constant.Int:     UntypedInt,
    	constant.Float:   UntypedFloat,
    	constant.Complex: UntypedComplex,
    }
    
    // DefaultKinds maps from a constant.Kind to its default Kind.
    var DefaultKinds = [...]Kind{
    	constant.Bool:    TBOOL,
    	constant.String:  TSTRING,
    	constant.Int:     TINT,
    	constant.Float:   TFLOAT64,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. 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)
  3. src/go/types/expr.go

    // that might overflow; otherwise it returns the empty string.
    func opName(e ast.Expr) string {
    	switch e := e.(type) {
    	case *ast.BinaryExpr:
    		if int(e.Op) < len(op2str2) {
    			return op2str2[e.Op]
    		}
    	case *ast.UnaryExpr:
    		if int(e.Op) < len(op2str1) {
    			return op2str1[e.Op]
    		}
    	}
    	return ""
    }
    
    var op2str1 = [...]string{
    	token.XOR: "bitwise complement",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/expr.go

    // that might overflow; otherwise it returns the empty string.
    func opName(x syntax.Expr) string {
    	if e, _ := x.(*syntax.Operation); e != nil {
    		op := int(e.Op)
    		if e.Y == nil {
    			if op < len(op2str1) {
    				return op2str1[op]
    			}
    		} else {
    			if op < len(op2str2) {
    				return op2str2[op]
    			}
    		}
    	}
    	return ""
    }
    
    var op2str1 = [...]string{
    	syntax.Xor: "bitwise complement",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  5. src/runtime/string.go

    		b = b[len(x):]
    	}
    	return s
    }
    
    func concatstring2(buf *tmpBuf, a0, a1 string) string {
    	return concatstrings(buf, []string{a0, a1})
    }
    
    func concatstring3(buf *tmpBuf, a0, a1, a2 string) string {
    	return concatstrings(buf, []string{a0, a1, a2})
    }
    
    func concatstring4(buf *tmpBuf, a0, a1, a2, a3 string) string {
    	return concatstrings(buf, []string{a0, a1, a2, a3})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/sets/string.go

    // If the value passed in is not actually a map, this will panic.
    func StringKeySet[T any](theMap map[string]T) String {
    	return String(KeySet(theMap))
    }
    
    // Insert adds items to the set.
    func (s String) Insert(items ...string) String {
    	return String(cast(s).Insert(items...))
    }
    
    // Delete removes all items from the set.
    func (s String) Delete(items ...string) String {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/string.kt

    package org.gradle.kotlin.dsl.fixtures
    
    
    fun <T> Iterable<T>.joinLines(transform: (T) -> String) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 157 bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/matcher/string.go

    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    )
    
    // StringMatcher creates a string matcher for v.
    func StringMatcher(v string) *matcher.StringMatcher {
    	return StringMatcherWithPrefix(v, "")
    }
    
    // StringOrMatcher creates an OR string matcher for a list of values.
    func StringOrMatcher(vs []string) *matcher.ValueMatcher {
    	matchers := []*matcher.ValueMatcher{}
    	for _, v := range vs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top