Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for string_ssa (0.39 sec)

  1. src/cmd/compile/internal/test/testdata/compound_test.go

    package main
    
    import (
    	"testing"
    )
    
    func string_ssa(a, b string, x bool) string {
    	s := ""
    	if x {
    		s = a
    	} else {
    		s = b
    	}
    	return s
    }
    
    func testString(t *testing.T) {
    	a := "foo"
    	b := "barz"
    	if want, got := a, string_ssa(a, b, true); got != want {
    		t.Errorf("string_ssa(%v, %v, true) = %v, want %v\n", a, b, got, want)
    	}
    	if want, got := b, string_ssa(a, b, false); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/string_test.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // string_ssa.go tests string operations.
    package main
    
    import "testing"
    
    //go:noinline
    func testStringSlice1_ssa(a string, i, j int) string {
    	return a[i:]
    }
    
    //go:noinline
    func testStringSlice2_ssa(a string, i, j int) string {
    	return a[:j]
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  3. src/test/resources/org/codelibs/core/message/strings_ja.properties

    Shinsuke Sugaya <******@****.***> 1419757266 +0900
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Sun Dec 28 09:01:06 UTC 2014
    - 14 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

          return tflite::TensorType_INT8;
        default:
          return tflite::TensorType_FLOAT32;
      }
    }
    
    int ToStringSet(PyObject* py_denylist,
                    absl::flat_hash_set<std::string>* string_set) {
      using tflite::python_utils::ConvertFromPyString;
      // Ensure op_denylist is non null
      if (!py_denylist) {
        return 0;
      }
      if (PyList_Check(py_denylist)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top