Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for teststring2 (0.24 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CompositeCallInterceptionTest.groovy

            "normal getter"       | "call site" | "getTestString()"                             | { it.testString }                    | false
            "boolean getter"      | "call site" | "isTestFlag()"                                | { it.testFlag }                      | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/RegExpPatternStep.java

                } else {
                    result.append(next);
                }
            }
            return result.toString();
        }
    
        @Override
        public boolean matches(String testString) {
            Matcher matcher = pattern.matcher(testString);
            return matcher.matches();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/composite_op_round_trip.mlir

        // CHECK-ROUNDTRIP:  %0 = stablehlo.composite "stablehlo.add_n" %arg0 {composite_attributes = {test_bool = false, test_int = 2 : i64, test_string = "test"}, decomposition = @add_n.impl} : (tensor<i64>) -> tensor<i64>
        %0 = stablehlo.composite "stablehlo.add_n" %arg0 { composite_attributes = { test_int = 2 : i64, test_bool = 0 : i1, test_string = "test"}, decomposition = @add_n.impl } : (tensor<i64>) -> tensor<i64>
        return %0 : tensor<i64>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:40:50 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/embed/internal/embedtest/embed_test.go

    	if err := fstest.TestFS(global, "concurrency.txt", "testdata/hello.txt"); err != nil {
    		t.Fatal(err)
    	}
    
    	testString(t, concurrency, "concurrency", "Concurrency is not parallelism.\n")
    	testString(t, string(glass), "glass", "I can eat glass and it doesn't hurt me.\n")
    }
    
    //go:embed testdata
    var testDirAll embed.FS
    
    func TestDir(t *testing.T) {
    	all := testDirAll
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 20:10:16 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. src/unique/clone_test.go

    // license that can be found in the LICENSE file.
    
    package unique
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"reflect"
    	"testing"
    )
    
    func TestMakeCloneSeq(t *testing.T) {
    	testCloneSeq[testString](t, cSeq(0))
    	testCloneSeq[testIntArray](t, cSeq())
    	testCloneSeq[testEface](t, cSeq())
    	testCloneSeq[testStringArray](t, cSeq(0, 2*goarch.PtrSize, 4*goarch.PtrSize))
    	testCloneSeq[testStringStruct](t, cSeq(0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. tensorflow/cc/experimental/libtf/impl/iostream_test.cc

    }
    
    TEST(OStreamTest, TestFloat32) {
      Float32 x(0.375);  // Exactly representable as a float.
      std::stringstream stream;
      stream << x;
      ASSERT_EQ(stream.str(), "0.375");
    }
    
    TEST(OStreamTest, TestString) {
      String s("foo");
      std::stringstream stream;
      stream << s;
      ASSERT_EQ(stream.str(), "foo");
    }
    
    TEST(OStreamTest, TestNone) {
      std::stringstream stream;
      stream << None::GetInstance();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 09:47:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. pilot/pkg/networking/networking_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			if got := ModelProtocolToListenerProtocol(tt.protocol); got != tt.want {
    				t.Errorf("ModelProtocolToListenerProtocol() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestString(t *testing.T) {
    	tests := []struct {
    		name  string
    		value uint
    		want  string
    	}{
    		{
    			"test String method for tcp transport protocol",
    			TransportProtocolTCP,
    			"tcp",
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 02:46:15 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/apiendpoint_test.go

    			}
    			if !reflect.DeepEqual(apiEndpoint, rt.expectedEndpoint) {
    				t.Errorf("expected API endpoint: %v; got: %v", rt.expectedEndpoint, apiEndpoint)
    			}
    		})
    	}
    }
    
    func TestString(t *testing.T) {
    	var tests = []struct {
    		name        string
    		apiEndpoint APIEndpoint
    		expected    string
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 28 10:23:44 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/rand/rand_test.go

    limitations under the License.
    */
    
    package rand
    
    import (
    	"math/rand"
    	"strings"
    	"testing"
    )
    
    const (
    	maxRangeTestCount = 500
    	testStringLength  = 32
    )
    
    func TestString(t *testing.T) {
    	valid := "bcdfghjklmnpqrstvwxz2456789"
    	for _, l := range []int{0, 1, 2, 10, 123} {
    		s := String(l)
    		if len(s) != l {
    			t.Errorf("expected string of size %d, got %q", l, s)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 07 13:45:36 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  10. tensorflow/cc/experimental/libtf/tests/value_test.cc

      list.list().push_back(valuei);
      list.list().push_back(valuef);
      list.list().push_back(tuple);
      std::stringstream stream;
      stream << list;
      ASSERT_EQ(stream.str(), "[3, 3, (310, ), ]");
    }
    
    TEST(ValueTest, TestString) {
      TaggedValue value1a("string1");
      std::string s = "string";
      s += "1";
      TaggedValue value1b(s.c_str());
      // Verify that interned the pointers are the same.
      ASSERT_EQ(value1b.s(), value1a.s());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top