Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 906 for Cases (0.06 sec)

  1. src/cmd/compile/internal/typecheck/stmt.go

    	// declaration itself. So if there are no cases, we won't
    	// notice that it went unused.
    	if v := guard.Tag; v != nil && !ir.IsBlank(v) && len(n.Cases) == 0 {
    		base.ErrorfAt(v.Pos(), errors.UnusedVar, "%v declared but not used", v.Sym())
    	}
    
    	var defCase, nilCase ir.Node
    	var ts typeSet
    	for _, ncase := range n.Cases {
    		ls := ncase.List
    		if len(ls) == 0 { // default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/compileTimeConstantProvider/FirIdeDependentAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated.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.compileTimeConstantProvider;
    
    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: Mon May 27 08:19:41 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. pilot/pkg/model/authentication_test.go

    )
    
    var baseTimestamp = time.Date(2020, 2, 2, 2, 2, 2, 0, time.UTC)
    
    func TestGetPoliciesForWorkload(t *testing.T) {
    	policies := getTestAuthenticationPolicies(createTestConfigs(true /* with mesh peer authn */), t)
    
    	cases := []struct {
    		name                   string
    		workloadNamespace      string
    		workloadLabels         labels.Instance
    		wantRequestAuthn       []*config.Config
    		wantPeerAuthn          []*config.Config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/compileTimeConstantProvider/Fe10IdeNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated.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.fe10.test.cases.generated.cases.components.compileTimeConstantProvider;
    
    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: Mon May 27 08:19:41 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/compileTimeConstantProvider/FirStandaloneNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated.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.standalone.fir.test.cases.generated.cases.components.compileTimeConstantProvider;
    
    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: Mon May 27 08:19:41 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. pkg/log/config_test.go

    	}
    
    	for _, v := range cases {
    		t.Run(v.name, func(t *testing.T) {
    			formatDate(v.input, testEnc)
    			if !strings.HasPrefix(testEnc.output, v.want) {
    				t.Errorf("formatDate(%v) => %s, want year: %s", v.input, testEnc.output, v.want)
    			}
    		})
    	}
    }
    
    func TestTimestampProperMicros(t *testing.T) {
    	testEnc := &testDateEncoder{}
    	cases := []struct {
    		name  string
    		input time.Time
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. pkg/test/framework/suite_test.go

    	s.Label(label.CustomSetup)
    	s.Run()
    
    	g.Expect(runCalled).To(BeTrue())
    	g.Expect(runSkipped).To(BeFalse())
    }
    
    func TestSuite_RequireMinMaxClusters(t *testing.T) {
    	cases := []struct {
    		name       string
    		min        int
    		max        int
    		actual     int
    		expectSkip bool
    	}{
    		{
    			name:       "min less than zero",
    			min:        0,
    			max:        100,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/compileTimeConstantProvider/FirIdeNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated.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.compileTimeConstantProvider;
    
    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: Mon May 27 08:19:41 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. test/nosplit.go

    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strconv"
    	"strings"
    )
    
    const debug = false
    
    var tests = `
    # These are test cases for the linker analysis that detects chains of
    # nosplit functions that would cause a stack overflow.
    #
    # Lines beginning with # are comments.
    #
    # Each test case describes a sequence of functions, one per line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

    /**
     * Generated tests for {@link Monitor}.
     *
     * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every
     * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} class
     * is analyzed reflectively to determine appropriate test cases based on its signature. Additional
     * ad hoc test cases can be found in {@link SupplementalMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top