Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 65 for stringList (0.18 sec)

  1. src/cmd/go/internal/load/pkg.go

    // even IgnoredGoFiles, because some subcommands consider them.
    // The go/build package filtered others out (like foo_wrongGOARCH.s)
    // and that's OK.
    func (p *Package) AllFiles() []string {
    	files := str.StringList(
    		p.GoFiles,
    		p.CgoFiles,
    		// no p.CompiledGoFiles, because they are from GoFiles or generated by us
    		p.IgnoredGoFiles,
    		// no p.InvalidGoFiles, because they are from GoFiles
    		p.IgnoredOtherFiles,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    		// intended to help with tests that run "go build" to build
    		// fresh copies of tools to test as part of the testing.
    		addToEnv = "GOCOVERDIR=" + gcd
    	}
    	args := str.StringList(execCmd, a.Deps[0].BuiltTarget(), testlogArg, panicArg, fuzzArg, coverdirArg, testArgs)
    
    	if testCoverProfile != "" {
    		// Write coverage to temporary profile, for merging later.
    		for i, arg := range args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. test/typeparam/boundmethod.go

    	}
    
    	// For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639).
    	// x2 := []StringInt[myint]{StringInt[myint](5), StringInt[myint](7), StringInt[myint](6)}
    	//
    	// // stringify on an instantiated type, whose bound method is associated with
    	// // the generic type StringInt[T], which maps directly to T.
    	// got2 := stringify(x2)
    	// want2 := []string{"5", "7", "6"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 25 14:29:30 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/impl/string_test.cc

    #include "tensorflow/cc/experimental/libtf/impl/string.h"
    
    #include "tensorflow/core/platform/test.h"
    
    namespace tf {
    namespace libtf {
    namespace impl {
    
    TEST(StringTest, TestBasicInterning) {
      String s1("foo");
      String s2("foo");
      EXPECT_EQ(&s1.str(), &s2.str());
    }
    
    }  // namespace impl
    }  // namespace libtf
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 30 17:28:28 UTC 2021
    - 1002 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/errorcalls_test.go

    				return false
    			}
    			format := call.ArgList[errorfFormatIndex]
    			syntax.Inspect(format, func(n syntax.Node) bool {
    				if lit, _ := n.(*syntax.BasicLit); lit != nil && lit.Kind == syntax.StringLit {
    					if s, err := strconv.Unquote(lit.Value); err == nil {
    						if !balancedParentheses(s) {
    							t.Errorf("%s: unbalanced parentheses/brackets", lit.Pos())
    						}
    					}
    					return false
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/util.go

    }
    
    var kind2tok = [...]token.Token{
    	syntax.IntLit:    token.INT,
    	syntax.FloatLit:  token.FLOAT,
    	syntax.ImagLit:   token.IMAG,
    	syntax.RuneLit:   token.CHAR,
    	syntax.StringLit: token.STRING,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/tokens.go

    // and floating-point numbers, having a single ImagLit does
    // not represent the literal kind well anymore. Remove it?
    const (
    	IntLit LitKind = iota
    	FloatLit
    	ImagLit
    	RuneLit
    	StringLit
    )
    
    type Operator uint
    
    //go:generate stringer -type Operator -linecomment tokens.go
    
    const (
    	_ Operator = iota
    
    	// Def is the : in :=
    	Def   // :
    	Not   // !
    	Recv  // <-
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. src/math/big/ratconv_test.go

    			next = 0
    			err = nil
    		}
    		if err == nil && next != a.next {
    			t.Errorf("scanExponent%+v\n\tgot next = %q; want %q", a, next, a.next)
    		}
    	}
    }
    
    type StringTest struct {
    	in, out string
    	ok      bool
    }
    
    var setStringTests = []StringTest{
    	// invalid
    	{in: "1e"},
    	{in: "1.e"},
    	{in: "1e+14e-5"},
    	{in: "1e4.5"},
    	{in: "r"},
    	{in: "a/b"},
    	{in: "a.b"},
    	{in: "1/0"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  9. cmd/object-api-options.go

    		}
    	}
    
    	return
    }
    
    func parseIntHeader(bucket, object string, h http.Header, headerName string) (value int, err error) {
    	stringInt := strings.TrimSpace(h.Get(headerName))
    	if stringInt == "" {
    		return
    	}
    	value, err = strconv.Atoi(stringInt)
    	if err != nil {
    		return 0, InvalidArgument{
    			Bucket: bucket,
    			Object: object,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

    // Parses a TFR type.
    //   tfr_type ::= tensor_type | tensor_list_type | attr_type
    //   string_list ::= `[` string-literal (, string-literal)+ `]`
    //   tensor_type ::= `tensor`
    //                 | `tensor<` (string-literal | string_list)  '>'
    //   tensor_list_type ::= `tensor_list`
    //                      | `tensor_list<` (string-literal | string_list)  '>'
    //   attr_type ::= `attr`
    Type TFRDialect::parseType(DialectAsmParser &parser) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
Back to top