Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,235 for Cases (0.04 sec)

  1. tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization_test.cc

    using ::stablehlo::quantization::io::CreateTmpDir;
    using ::testing::HasSubstr;
    using ::tsl::testing::IsOk;
    using ::tsl::testing::StatusIs;
    
    // Test cases for `RunQuantization` mainly tests for error cases because testing
    // for successful cases require passing python implementation to
    // `quantization_py_function_lib`, which requires testing from the python level.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. pkg/config/model_test.go

    			json:  `{"name":"foobar"}`,
    		},
    	}
    	for _, tt := range cases {
    		t.Run(fmt.Sprintf("%T", tt.input), func(t *testing.T) {
    			jb, err := ToJSON(tt.input)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if string(jb) != tt.json {
    				t.Fatalf("got %v want %v", string(jb), tt.json)
    			}
    		})
    	}
    }
    
    func TestToMap(t *testing.T) {
    	cases := []struct {
    		input Spec
    		mp    map[string]any
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. pkg/util/filesystem/util_test.go

    		{path: "/var/../something", expected: false},
    		{path: "/var//lib/something", expected: false},
    		{path: "/var/./lib/something", expected: false},
    	}
    
    	// Additional cases applicable on Windows
    	if runtime.GOOS == "windows" {
    		cases = append(cases, []Case{
    			{path: "\\", expected: true},
    			{path: "C:/var/lib/something", expected: true},
    			{path: "C:\\var\\lib\\something", expected: true},
    			{path: "C:/", expected: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractSubstitutionOverridesUnwrappingTest.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.scopeProvider
    
    import org.jetbrains.kotlin.analysis.api.KaSession
    import org.jetbrains.kotlin.analysis.test.framework.services.expressionMarkerProvider
    import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.symbols.AbstractSymbolTest
    import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.symbols.SymbolsData
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/go/types/typeterm.go

    func (x *term) equal(y *term) bool {
    	// easy cases
    	switch {
    	case x == nil || y == nil:
    		return x == y
    	case x.typ == nil || y.typ == nil:
    		return x.typ == y.typ
    	}
    	// ∅ ⊂ x, y ⊂ 𝓤
    
    	return x.tilde == y.tilde && Identical(x.typ, y.typ)
    }
    
    // union returns the union x ∪ y: zero, one, or two non-nil terms.
    func (x *term) union(y *term) (_, _ *term) {
    	// easy cases
    	switch {
    	case x == nil && y == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/typeparams/typeterm.go

    func (x *term) equal(y *term) bool {
    	// easy cases
    	switch {
    	case x == nil || y == nil:
    		return x == y
    	case x.typ == nil || y.typ == nil:
    		return x.typ == y.typ
    	}
    	// ∅ ⊂ x, y ⊂ 𝓤
    
    	return x.tilde == y.tilde && types.Identical(x.typ, y.typ)
    }
    
    // union returns the union x ∪ y: zero, one, or two non-nil terms.
    func (x *term) union(y *term) (_, _ *term) {
    	// easy cases
    	switch {
    	case x == nil && y == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 21:08:44 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. pkg/version/version_test.go

    // limitations under the License.
    
    package version
    
    import (
    	"fmt"
    	"runtime"
    	"testing"
    )
    
    func TestNewBuildInfoFromOldString(t *testing.T) {
    	cases := []struct {
    		name       string
    		in         string
    		expectFail bool
    		want       BuildInfo
    	}{
    		{
    			"Correct input 1",
    			`Version: 1.0.0
    GitRevision: 3a136c90ec5e308f236e0d7ebb5c4c5e405217f4
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/visibilityChecker/FirIdeDependentAnalysisScriptSourceModuleVisibilityCheckerTestGenerated.java

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fir.test.cases.generated.cases.components.visibilityChecker;
    
    import com.intellij.testFramework.TestDataPath;
    import org.jetbrains.kotlin.test.util.KtTestUtil;
    import org.jetbrains.annotations.NotNull;
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Mar 26 20:47:37 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/visibilityChecker/FirIdeNormalAnalysisScriptSourceModuleVisibilityCheckerTestGenerated.java

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fir.test.cases.generated.cases.components.visibilityChecker;
    
    import com.intellij.testFramework.TestDataPath;
    import org.jetbrains.kotlin.test.util.KtTestUtil;
    import org.jetbrains.annotations.NotNull;
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Mar 26 20:47:37 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/containingDeclarationProvider/FirIdeDependentAnalysisScriptSourceModuleContainingDeclarationProviderForSetterParameterTestGenerated.java

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fir.test.cases.generated.cases.components.containingDeclarationProvider;
    
    import com.intellij.testFramework.TestDataPath;
    import org.jetbrains.kotlin.test.util.KtTestUtil;
    import org.jetbrains.annotations.NotNull;
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top