Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 783 for example1 (0.15 sec)

  1. src/cmd/go/testdata/script/build_trimpath_goroot.txt

    # (without -trimpath) or no GOROOT at all (with -trimpath).
    
    go build -o example.exe .
    go build -trimpath -o example-trimpath.exe .
    go test -c -o example.test.exe .
    go test -trimpath -c -o example.test-trimpath.exe .
    
    env GOROOT=
    
    exec ./example.exe
    stdout '^GOROOT '$TESTGO_GOROOT'$'
    stdout '^runtime '$TESTGO_GOROOT${/}src${/}runtime'$'
    
    ! exec ./example-trimpath.exe
    stdout '^GOROOT $'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/lister_watcher_test.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apiserver/pkg/apis/example"
    )
    
    func TestCacherListerWatcher(t *testing.T) {
    	prefix := "pods"
    	fn := func() runtime.Object { return &example.PodList{} }
    	server, store := newEtcdTestStorage(t, prefix)
    	defer server.Terminate(t)
    
    	objects := []*example.Pod{
    		{ObjectMeta: metav1.ObjectMeta{Name: "bar", Namespace: "test-ns"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 11:51:06 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/TestDisplayNameSpockCrossVersionSpec.groovy

            file("src/test/groovy/org/example/SimpleTests.groovy") << """package org.example
    
    import spock.lang.Specification
    
    class SimpleTests extends Specification {
    
        def "success test"() {
            expect:
            true
        }
    }
    
    """
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestClasses(':test', ['org.example.SimpleTests'])
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/TestDisplayNameJUnit4CrossVersionSpec.groovy

            file("src/test/java/org/example/SimpleTests.java") << """package org.example;
    
    import org.junit.Test;
    
    public class SimpleTests {
    
        @Test
        public void test() {
        }
    }
    """
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestClasses(':test', ['org.example.SimpleTests'])
            }
    
            then:
            jvmTestEvents {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/running-builds/introduction/plugin_basics.adoc

    }
    ----
    
    == 1. Core plugins
    
    Gradle Core plugins are a set of plugins that are included in the Gradle distribution itself.
    These plugins provide essential functionality for building and managing projects.
    
    Some examples of core plugins include:
    
    - *java*: Provides support for building Java projects.
    - *groovy*: Adds support for compiling and testing Groovy source files.
    - *ear*: Adds support for building EAR files for enterprise applications.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 00:36:58 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingSnapshotFromPluginRepositorySpec.groovy

            def pluginBuilder = new PluginBuilder(testDirectory.file("plugin-" + version))
    
            def taskName = "pluginTask"
    
            pluginBuilder.addPluginWithPrintlnTask(taskName, message, "org.example.plugin")
            pluginBuilder.publishAs("org.example.plugin:plugin:${version}", mavenRepo, executer)
        }
    
        private void useCustomRepository(String resolutionStrategy = "") {
            settingsFile << """
              pluginManagement {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:20:28 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_list_m.txt

    go mod tidy
    
    go list -m -json all
    stdout '"GoModSum":\s+"h1:.+"'
    stdout '"Sum":\s+"h1:.+"'
    
    -- go.mod --
    module example
    
    go 1.21
    
    require rsc.io/quote v1.5.1
    -- example.go --
    package example
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 215 bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/CustomUrlFilterImplTest.java

            domainFilter.processUrl("http://example.com/");
    
            assertEquals(1, domainFilter.cachedIncludeSet.size());
            assertEquals(1, domainFilter.cachedExcludeSet.size());
            assertEquals("http://example.com/.*", domainFilter.cachedIncludeSet.toArray()[0]);
            assertEquals("http://example.com/.*", domainFilter.cachedExcludeSet.toArray()[0]);
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/testdata/isolation.status.yaml.golden

          status: "True"
          type: ResolvedRefs
        name: abc-foo-example-com
        supportedKinds:
        - group: gateway.networking.k8s.io
          kind: HTTPRoute
        - group: gateway.networking.k8s.io
          kind: GRPCRoute
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      creationTimestamp: null
      name: attaches-to-abc-foo-example-com-with-hostname-intersection
      namespace: gateway-conformance-infra
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemProgressEventCrossVersionTest.groovy

            ''                         | null            | ''                                          | null
        }
    
        def "Problems expose file locations with file path only"() {
            given:
            withReportProblemTask """
                getProblems().forNamespace("org.example.plugin").reporting {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 11:36:58 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top