Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 298 for mystring (0.14 sec)

  1. 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)
  2. 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)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    // 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)
    	}
    	if name == "" {
    		return ""
    	}
    
    	var parentheticals []string
    	if underName := typeName(typ.Underlying()); underName != "" && underName != name {
    		parentheticals = append(parentheticals, underName)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. 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)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-string.h

    #ifdef __BORLANDC__
    // string.h is not guaranteed to provide strcpy on C++ Builder.
    # include <mem.h>
    #endif
    
    #include <string.h>
    #include <string>
    
    #include "gtest/internal/gtest-port.h"
    
    namespace testing {
    namespace internal {
    
    // String - an abstract class holding static string utilities.
    class GTEST_API_ String {
     public:
      // Static utility methods
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-string.h

    #ifdef __BORLANDC__
    // string.h is not guaranteed to provide strcpy on C++ Builder.
    # include <mem.h>
    #endif
    
    #include <string.h>
    #include <string>
    
    #include "gtest/internal/gtest-port.h"
    
    namespace testing {
    namespace internal {
    
    // String - an abstract class holding static string utilities.
    class GTEST_API_ String {
     public:
      // Static utility methods
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/string-attr.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-splatted-mlir %s -o - | FileCheck %s
    
    # CHECK: tf.Const
    # CHECK-SAME: value = dense<""> : tensor<3x!tf_type.string>
    
    node {
      name: "save/SaveV2/shape_and_slices"
      op: "Const"
      attr {
        key: "_output_shapes"
        value {
          list {
            shape {
              dim {
                size: 3
              }
            }
          }
        }
      }
      attr {
        key: "dtype"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 29 04:41:05 UTC 2021
    - 713 bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	}
    	return n
    }
    
    // String implements fmt.Stringer.String.
    //
    // Note: characters inside the labels are not escaped in any way.
    func (n Name) String() string {
    	return string(n.Data[:n.Length])
    }
    
    // GoString implements fmt.GoStringer.GoString.
    func (n *Name) GoString() string {
    	return `dnsmessage.MustNewName("` + printString(n.Data[:n.Length]) + `")`
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/providers/collections/groovy/build.gradle

        // Define a domain object set to hold strings
        DomainObjectSet<String> myStrings = project.objects.domainObjectSet(String)
    
        // Add some strings to the domain object set
        void addString(String value) {
            myStrings.add(value)
        }
    }
    // end::dos[]
    
    // tag::ndos[]
    // tag::ndol[]
    // tag::ndoc[]
    abstract class Person {
        String name
    }
    // end::ndol[]
    // end::ndoc[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/debug/macho/reloctype.go

    	GENERIC_RELOC_PB_LA_PTR      RelocTypeGeneric = 3
    	GENERIC_RELOC_LOCAL_SECTDIFF RelocTypeGeneric = 4
    	GENERIC_RELOC_TLV            RelocTypeGeneric = 5
    )
    
    func (r RelocTypeGeneric) GoString() string { return "macho." + r.String() }
    
    type RelocTypeX86_64 int
    
    const (
    	X86_64_RELOC_UNSIGNED   RelocTypeX86_64 = 0
    	X86_64_RELOC_SIGNED     RelocTypeX86_64 = 1
    	X86_64_RELOC_BRANCH     RelocTypeX86_64 = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 18:45:40 UTC 2017
    - 2.4K bytes
    - Viewed (0)
Back to top