Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 192 for runGet (0.13 sec)

  1. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/compileTimeConstantProvider/FirStandaloneNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated.java

      }
    
      @Test
      @TestMetadata("arrayWithInc.kt")
      public void testArrayWithInc() {
        runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/arrayWithInc.kt");
      }
    
      @Test
      @TestMetadata("binaryExpressionWithString.kt")
      public void testBinaryExpressionWithString() {
        runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/binaryExpressionWithString.kt");
      }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 08:19:41 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. pkg/util/iptables/iptables.go

    	if err != nil {
    		return err
    	}
    	if !exists {
    		return nil
    	}
    	out, err := runner.run(opDeleteRule, fullArgs)
    	if err != nil {
    		return fmt.Errorf("error deleting rule: %v: %s", err, out)
    	}
    	return nil
    }
    
    func (runner *runner) IsIPv6() bool {
    	return runner.protocol == ProtocolIPv6
    }
    
    func (runner *runner) Protocol() Protocol {
    	return runner.protocol
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 28.6K bytes
    - Viewed (0)
  3. tensorflow/cc/gradients/array_grad_test.cc

      void RunTest(const Output& x, const TensorShape& x_shape, const Output& y,
                   const TensorShape& y_shape) {
        TF_ASSERT_OK(scope_.status());
        float max_error;
        TF_ASSERT_OK((ComputeGradientError<float, float, float>(
            scope_, {x}, {x_shape}, {y}, {y_shape}, &max_error)));
        EXPECT_LT(max_error, 1e-3);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy

     */
    
    package org.gradle.testkit.runner
    
    import org.gradle.internal.nativeintegration.ProcessEnvironment
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    import org.gradle.testfixtures.internal.NativeServicesTestFixture
    import org.gradle.testkit.runner.fixtures.InjectsPluginClasspath
    import org.gradle.testkit.runner.fixtures.InspectsBuildOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 03:45:31 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    After creating and configuring a runner instance, the build can be executed via the link:{javadocPath}/org/gradle/testkit/runner/GradleRunner.html#build--[GradleRunner.build()] or link:{javadocPath}/org/gradle/testkit/runner/GradleRunner.html#buildAndFail--[GradleRunner.buildAndFail()] methods depending on the anticipated outcome.
    
    The following demonstrates the usage of the Gradle runner in a Java JUnit test:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        final AtomicInteger numCalls = new AtomicInteger();
    
        Runnable runMe =
            new Runnable() {
              @Override
              public void run() {
                numCalls.incrementAndGet();
                throw new RuntimeException("FAKE EXCEPTION!");
              }
            };
    
        e.execute(runMe);
        e.execute(runMe);
        fakePool.runAll();
    
        assertEquals(2, numCalls.get());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/workflow/runner_test.go

    	var usecases = []struct {
    		name                string
    		runner              Runner
    		expectedCmdAndFlags map[string][]string
    		setAdditionalFlags  func(*pflag.FlagSet)
    	}{
    		{
    			name:   "when there are no phases, cmd should be left untouched",
    			runner: Runner{},
    		},
    		{
    			name: "phases should not inherits any parent flags by default",
    			runner: Runner{
    				Phases: []Phase{phaseBuilder4("foo", nil)},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 20:03:45 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            """
    
            when:
            def runner = GradleRunner.create()
            runner.withJvmArguments("-javaagent:${agentJar}")
            if (!GradleContextualExecuter.embedded) {
                runner.withGradleInstallation(buildContext.gradleHomeDir)
            }
            runner.withArguments("--configuration-cache")
            runner.forwardOutput()
            runner.withProjectDir(testDirectory)
            runner.withPluginClasspath([new File("some-dir")])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/DefaultGradleRunnerTest.groovy

            when:
            def runner = createRunner()
                .withProjectDir(workingDir)
                .withArguments(arguments)
    
            then:
            runner.projectDir == workingDir
            runner.arguments == arguments
            runner.pluginClasspath == []
            !runner.debug
            !runner.standardOutput
            !runner.standardError
            !runner.standardInput
            0 * testKitDirProvider.getDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. pkg/util/iptables/iptables_test.go

    				func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(&fcmd, cmd, args...) },
    			},
    		}
    		ipt := New(fexec, ProtocolIPv4)
    		runner := ipt.(*runner)
    		if testCase.Expected != runner.hasCheck {
    			t.Errorf("Expected result: %v, Got result: %v", testCase.Expected, runner.hasCheck)
    		}
    	}
    }
    
    func TestIPTablesCommands(t *testing.T) {
    	testCases := []struct {
    		funcName    string
    		protocol    Protocol
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 46.3K bytes
    - Viewed (0)
Back to top