Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 906 for Cases (0.13 sec)

  1. cmd/utils_test.go

    	}
    }
    
    // Test ceilFrac
    func TestCeilFrac(t *testing.T) {
    	cases := []struct {
    		numerator, denominator, ceiling int64
    	}{
    		{0, 1, 0},
    		{-1, 2, 0},
    		{1, 2, 1},
    		{1, 1, 1},
    		{3, 2, 2},
    		{54, 11, 5},
    		{45, 11, 5},
    		{-4, 3, -1},
    		{4, -3, -1},
    		{-4, -3, 2},
    		{3, 0, 0},
    	}
    	for i, testCase := range cases {
    		ceiling := ceilFrac(testCase.numerator, testCase.denominator)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/stmt.go

    			continue
    		}
    		end := s.Rbrace
    		if i+1 < len(s.Body) {
    			end = s.Body[i+1].Pos()
    		}
    		// Check each type in this type switch case.
    		cases := syntax.UnpackListExpr(clause.Cases)
    		T := check.caseTypes(sx, cases, seen)
    		check.openScopeUntil(clause, end, "case")
    		// If lhs exists, declare a corresponding variable in the case-local scope.
    		if lhs != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers_test.go

    	}
    	qParamsArr := []url.Values{
    		// Invalid cases
    		mkParams("", true, true),
    		mkParams("111", true, true),
    		mkParams("111", true, false),
    		mkParams("111", false, true),
    		// Valid cases follow
    		mkParams("", true, false),
    		mkParams("", false, true),
    		mkParams("", false, false),
    		mkParams("111", false, false),
    	}
    	varsArr := []map[string]string{
    		// Invalid cases
    		{mgmtPrefix: "objprefix"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/diagnosticProvider/FirIdeNormalAnalysisSourceModuleCollectDiagnosticsTestGenerated.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.diagnosticProvider;
    
    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 Apr 29 19:19:13 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/symbols/FirStandaloneNormalAnalysisSourceModuleSingleSymbolByPsiTestGenerated.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.symbols;
    
    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: Fri Apr 19 17:23:15 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/symbols/FirIdeNormalAnalysisSourceModuleSingleSymbolByPsiTestGenerated.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.symbols;
    
    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: Fri Apr 19 17:23:15 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/server_test.go

    	tlsArgcertFile := filepath.Join(tlsArgCertsDir, "cert-file.pem")
    	tlsArgkeyFile := filepath.Join(tlsArgCertsDir, "key-file.pem")
    	tlsArgcaCertFile := filepath.Join(tlsArgCertsDir, "ca-cert.pem")
    
    	cases := []struct {
    		name                      string
    		FSCertsPaths              TLSFSLoadPaths
    		tlsOptions                *TLSOptions
    		enableCA                  bool
    		certProvider              string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/symbols/Fe10IdeNormalAnalysisSourceModuleSingleSymbolByPsiTestGenerated.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.symbols;
    
    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: Fri Apr 19 17:23:15 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/diagnosticProvider/FirStandaloneNormalAnalysisSourceModuleCollectDiagnosticsTestGenerated.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.diagnosticProvider;
    
    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 Apr 29 19:19:13 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java

         * Checks if a type has a type variable which may require resolving.
         */
        public static boolean hasTypeVariable(Type type) {
            // do some checks up-front, so we avoid creating the queue in most cases
            // Cases we want to handle:
            // - List<String>
            // - Class<?>
            // - List<Class<?>>
            // - Integer[]
            // - ? extends BaseType
            // - Class<?>[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.4K bytes
    - Viewed (0)
Back to top