Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 65 for stringList (0.2 sec)

  1. internal/s3select/sql/funceval.go

    	case castInt, castInteger:
    		i, err := intCast(v)
    		return FromInt(i), err
    
    	case castFloat:
    		f, err := floatCast(v)
    		return FromFloat(f), err
    
    	case castString:
    		s, err := stringCast(v)
    		return FromString(s), err
    
    	case castTimestamp:
    		t, err := timestampCast(v)
    		return FromTimestamp(t), err
    
    	case castBool:
    		b, err := boolCast(v)
    		return FromBool(b), err
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/struct.go

    		return false
    	}
    	return true
    }
    
    func (check *Checker) tag(t *syntax.BasicLit) string {
    	// If t.Bad, an error was reported during parsing.
    	if t != nil && !t.Bad {
    		if t.Kind == syntax.StringLit {
    			if val, err := strconv.Unquote(t.Value); err == nil {
    				return val
    			}
    		}
    		check.errorf(t, InvalidSyntaxTree, "incorrect tag syntax: %q", t.Value)
    	}
    	return ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/nodes.go

    	ImportDecl struct {
    		Group        *Group // nil means not part of a group
    		Pragma       Pragma
    		LocalPkgName *Name     // including "."; nil means no rename present
    		Path         *BasicLit // Path.Bad || Path.Kind == StringLit; nil means no path
    		decl
    	}
    
    	// NameList
    	// NameList      = Values
    	// NameList Type = Values
    	ConstDecl struct {
    		Group    *Group // nil means not part of a group
    		Pragma   Pragma
    		NameList []*Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/scanner.go

    			s.errorf("newline in string")
    			ok = false
    			break
    		}
    		if s.ch < 0 {
    			s.errorAtf(0, "string not terminated")
    			ok = false
    			break
    		}
    		s.nextch()
    	}
    
    	s.setLit(StringLit, ok)
    }
    
    func (s *scanner) rawString() {
    	ok := true
    	s.nextch()
    
    	for {
    		if s.ch == '`' {
    			s.nextch()
    			break
    		}
    		if s.ch < 0 {
    			s.errorAtf(0, "string not terminated")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  5. src/strings/strings_test.go

    		}
    	}
    }
    
    // Test case for any function which accepts and returns a single string.
    type StringTest struct {
    	in, out string
    }
    
    // Execute f on each test case.  funcName should be the name of f; it's used
    // in failure reports.
    func runStringTests(t *testing.T, f func(string) string, funcName string, testCases []StringTest) {
    	for _, tc := range testCases {
    		actual := f(tc.in)
    		if actual != tc.out {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    			}
    		}
    	}
    }
    
    // Test case for any function which accepts and returns a byte slice.
    // For ease of creation, we write the input byte slice as a string.
    type StringTest struct {
    	in  string
    	out []byte
    }
    
    var upperTests = []StringTest{
    	{"", []byte("")},
    	{"ONLYUPPER", []byte("ONLYUPPER")},
    	{"abc", []byte("ABC")},
    	{"AbC123", []byte("ABC123")},
    	{"azAZ09_", []byte("AZAZ09_")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/operand.go

    	switch k {
    	case syntax.IntLit:
    		kind = UntypedInt
    	case syntax.FloatLit:
    		kind = UntypedFloat
    	case syntax.ImagLit:
    		kind = UntypedComplex
    	case syntax.RuneLit:
    		kind = UntypedRune
    	case syntax.StringLit:
    		kind = UntypedString
    	default:
    		panic("unreachable")
    	}
    
    	val := makeFromLiteral(lit, k)
    	if val.Kind() == constant.Unknown {
    		x.mode = invalid
    		x.typ = Typ[Invalid]
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

    //
    // Please note that ValuesIn copies the values from the containers
    // passed in and keeps them to generate tests in RUN_ALL_TESTS().
    //
    // Examples:
    //
    // This instantiates tests from test case StringTest
    // each with C-string values of "foo", "bar", and "baz":
    //
    // const char* strings[] = {"foo", "bar", "baz"};
    // INSTANTIATE_TEST_CASE_P(StringSequence, SrtingTest, ValuesIn(strings));
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/tfcompile.bzl

            # containing multiple flags (and there are cases that do this).
            "flags": attr.string(),
            # Extra flags are built in the tf_library macro as a list.
            "extra_flags": attr.string_list(),
            "dfsan": attr.bool(default = False),
            "dfsan_abilists": attr.label_list(default = [], allow_files = True),
            "is_linux": attr.bool(),
            "gen_compiler_log": attr.bool(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 19:18:08 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

    //
    // Please note that ValuesIn copies the values from the containers
    // passed in and keeps them to generate tests in RUN_ALL_TESTS().
    //
    // Examples:
    //
    // This instantiates tests from test case StringTest
    // each with C-string values of "foo", "bar", and "baz":
    //
    // const char* strings[] = {"foo", "bar", "baz"};
    // INSTANTIATE_TEST_CASE_P(StringSequence, SrtingTest, ValuesIn(strings));
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top