Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,940 for stringAt (0.16 sec)

  1. 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)
  2. 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)
  3. src/debug/pe/string.go

    	if err != nil {
    		return nil, fmt.Errorf("fail to read string table: %v", err)
    	}
    	return StringTable(buf), nil
    }
    
    // TODO(brainman): decide if start parameter should be int instead of uint32
    
    // String extracts string from COFF string table st at offset start.
    func (st StringTable) String(start uint32) (string, error) {
    	// start includes 4 bytes of string table length
    	if start < 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:06:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/matcher/string.go

    	case v == "*":
    		return StringMatcherRegex(".+")
    	case strings.HasPrefix(v, "*"):
    		if prefix == "" {
    			return StringMatcherSuffix(strings.TrimPrefix(v, "*"), false)
    		}
    		return StringMatcherRegex(prefix + ".*" + strings.TrimPrefix(v, "*"))
    	case strings.HasSuffix(v, "*"):
    		return StringMatcherPrefix(prefix+strings.TrimSuffix(v, "*"), false)
    	default:
    		return StringMatcherExact(prefix+v, false)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    	Run:      run,
    }
    
    // describe returns a string describing the type typ contained within the type
    // set of inType. If non-empty, inName is used as the name of inType (this is
    // necessary so that we can use alias type names that may not be reachable from
    // inType itself).
    func describe(typ, inType types.Type, inName string) string {
    	name := inName
    	if typ != inType {
    		name = typeName(typ)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/cc/experimental/libtf/impl/string.h

       */
      explicit String(const char* s);
    
      String() : String("") {}
      String(const String& s) : value_(s.value_) {}
    
      // This is the same as the default equality operator, which works because
      // we're interning all strings. It is specified here so we are explicit about
      // it. We're not saying "= default;" because we can't use C++20 features yet.
      bool operator==(const String& other) const { return value_ == other.value_; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 30 17:28:28 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  7. src/internal/trace/generation.go

    // addStrings takes a batch whose first byte is an EvStrings event
    // (indicating that the batch contains only strings) and adds each
    // string contained therein to the provided strings map.
    func addStrings(stringTable *dataTable[stringID, string], b batch) error {
    	if !b.isStringsBatch() {
    		return fmt.Errorf("internal error: addStrings called on non-string batch")
    	}
    	r := bytes.NewReader(b.data)
    	hdr, err := r.ReadByte() // Consume the EvStrings byte.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. test/ken/string.go

    	v := 'x'
    	c = string(v)
    	if c != "x" {
    		panic("create int " + c)
    	}
    
    	/* create string with byte array */
    	var z1 [3]byte
    	z1[0] = 'a'
    	z1[1] = 'b'
    	z1[2] = 'c'
    	c = string(z1[0:])
    	if c != "abc" {
    		panic("create byte array " + c)
    	}
    
    	/* create string with int array */
    	var z2 [3]rune
    	z2[0] = 'a'
    	z2[1] = '\u1234'
    	z2[2] = 'c'
    	c = string(z2[0:])
    	if c != "a\u1234c" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/sets/string.go

    */
    
    package sets
    
    // String is a set of strings, implemented via map[string]struct{} for minimal memory consumption.
    //
    // Deprecated: use generic Set instead.
    // new ways:
    // s1 := Set[string]{}
    // s2 := New[string]()
    type String map[string]Empty
    
    // NewString creates a String from a list of values.
    func NewString(items ...string) String {
    	return String(New[string](items...))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-string.h

    #endif
    
      // Compares two C strings.  Returns true iff they have the same content.
      //
      // Unlike strcmp(), this function can handle NULL argument(s).  A
      // NULL C string is considered different to any non-NULL C string,
      // including the empty string.
      static bool CStringEquals(const char* lhs, const char* rhs);
    
      // Converts a wide C string to a String using the UTF-8 encoding.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top