Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 78 for teststring2 (0.18 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/matchers/UserAgentMatcher.java

            return new UserAgentMatcher(applicationName, version);
        }
    
        @Override
        public boolean matches(Object o) {
            String testString = expectedUserAgentString();
            return CoreMatchers.equalTo(testString).matches(o);
        }
    
        private String expectedUserAgentString() {
            String javaVendor = System.getProperty("java.vendor");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/log/slog/internal/benchmarks/benchmarks.go

    var (
    	testTime     = time.Date(2022, time.May, 1, 0, 0, 0, 0, time.UTC)
    	testString   = "7e3b3b2aaeff56a7108fe11e154200dd/7819479873059528190"
    	testInt      = 32768
    	testDuration = 23 * time.Second
    	testError    = errors.New("fail")
    )
    
    var testAttrs = []slog.Attr{
    	slog.String("string", testString),
    	slog.Int("status", testInt),
    	slog.Duration("duration", testDuration),
    	slog.Time("time", testTime),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 25 12:14:46 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      public void testSkipFully() throws IOException {
        String testString = "abcdef";
        Reader reader = new StringReader(testString);
    
        assertEquals(testString.charAt(0), reader.read());
        CharStreams.skipFully(reader, 1);
        assertEquals(testString.charAt(2), reader.read());
        CharStreams.skipFully(reader, 2);
        assertEquals(testString.charAt(5), reader.read());
    
        assertEquals(-1, reader.read());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      public void testSkipFully() throws IOException {
        String testString = "abcdef";
        Reader reader = new StringReader(testString);
    
        assertEquals(testString.charAt(0), reader.read());
        CharStreams.skipFully(reader, 1);
        assertEquals(testString.charAt(2), reader.read());
        CharStreams.skipFully(reader, 2);
        assertEquals(testString.charAt(5), reader.read());
    
        assertEquals(-1, reader.read());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/testing/conversion.go

    	out.TypeMeta = in.TypeMeta
    	out.TestString = in.TestString
    	return nil
    }
    
    func convertExternalSimpleToInternalSimple(in *ExternalSimple, out *InternalSimple, s conversion.Scope) error {
    	out.TypeMeta = in.TypeMeta
    	out.TestString = in.TestString
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 06 16:07:10 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/compile/internal/test/testdata/compound_test.go

    // Test compound objects
    
    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)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 2.7K bytes
    - Viewed (0)
Back to top