Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,162 for Example (0.19 sec)

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

    # In this test, the workspace contains modules example.com/a and
    # example.com/b. Module example.com/a has a direct requirement
    # on rsc.io/sampler, and an indirect requirement on golang.org/x/text
    # through rsc.io/isampler. Module example.com/b has a direct
    # requirement on example.com/c which is incorrectly marked as indirect
    # in module example.com/b's go.mod file.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_tidy_compat.txt

    require (
    	example.com/version v1.1.0
    	example.net/lazy v0.1.0
    )
    -- m_all.txt --
    example.com/m
    example.com/version v1.1.0
    example.net/lazy v0.1.0 => ./lazy
    -- compatible.go --
    package compatible
    
    import (
    	_ "example.com/version"
    	_ "example.net/lazy"
    )
    -- lazy/go.mod --
    // Module lazy requires example.com/version v1.0.1.
    //
    // However, since this module is lazy, its dependents
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter_test.go

    					"other":      "data",
    				},
    			},
    			ExpectedFailure: "invalid group/version: example.com/v3",
    		},
    		{
    			Name:          "simple_list_conversion",
    			ValidVersions: []string{"example.com/v1", "example.com/v2"},
    			ClusterScoped: false,
    			ToVersion:     "example.com/v2",
    			SourceObject: &unstructured.UnstructuredList{
    				Object: map[string]interface{}{
    					"apiVersion": "example.com/v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    	defer server.Terminate(t)
    	versioner := storage.APIObjectVersioner{}
    
    	makePod := func(name string) *example.Pod {
    		return &example.Pod{
    			ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: name},
    		}
    	}
    	createPod := func(obj *example.Pod) *example.Pod {
    		key := "pods/" + obj.Namespace + "/" + obj.Name
    		out := &example.Pod{}
    		err := etcdStorage.Create(context.TODO(), key, obj, out, 0)
    		require.NoError(t, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyGradlePluginInitIntegrationTest.groovy

            then:
            assertTestPassed("org.example.SomeThingPluginTest", "plugin registers task")
            assertFunctionalTestPassed("org.example.SomeThingPluginFunctionalTest", "can run task")
    
            when:
            run('check', '--rerun-tasks')
    
            then:
            assertTestPassed("org.example.SomeThingPluginTest", "plugin registers task")
            assertFunctionalTestPassed("org.example.SomeThingPluginFunctionalTest", "can run task")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 02 19:50:23 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_newcycle.txt

    go mod download example.com@v1.0.0
    go mod download example.com/newcycle/a@v1.0.0
    go mod download example.com/newcycle/a@v1.0.1
    go mod download example.com/newcycle/b@v1.0.0
    
    go mod init m
    ! go get example.com/newcycle/a@v1.0.0
    cmp stderr stderr-expected
    
    -- stderr-expected --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 459 bytes
    - Viewed (0)
  7. src/html/template/error.go

    // escaped templates may also fail at runtime.
    //
    // Output: "ZgotmplZ"
    // Example:
    //
    //	<img src="{{.X}}">
    //	where {{.X}} evaluates to `javascript:...`
    //
    // Discussion:
    //
    //	"ZgotmplZ" is a special value that indicates that unsafe content reached a
    //	CSS or URL context at runtime. The output of the example will be
    //	  <img src="#ZgotmplZ">
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/work_disablevendor.txt

    import "example.com/dep"
    
    func main() {
    	dep.Dep()
    }
    -- workspace/go.mod --
    module example.com/mod
    
    go 1.20
    
    require example.com/dep v1.0.0
    -- workspace/vendor/example.com/dep/dep.go --
    package dep
    
    import "fmt"
    
    func Dep() {
    	fmt.Println("the vendored dep")
    }
    -- workspace/vendor/modules.txt --
    # example.com/dep v1.0.0
    ## explicit
    example.com/dep
    -- dep/go.mod --
    module example.com/dep
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:22:29 UTC 2022
    - 1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/files/misc/kotlin/build.gradle.kts

            }
        }
    }
    // end::move-example[]
    
    // tag::delete-example[]
    tasks.register<Delete>("myClean") {
        delete(buildDir)
    }
    // end::delete-example[]
    
    // tag::delete-with-filter-example[]
    tasks.register<Delete>("cleanTempFiles") {
        delete(fileTree("src").matching {
            include("**/*.tmp")
        })
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 971 bytes
    - Viewed (0)
  10. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

      @Test
      fun simple() {
        val request = fromArgs("http://example.com").createRequest()
        assertThat(request.method).isEqualTo("GET")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.body).isNull()
      }
    
      @Test
      @Throws(IOException::class)
      fun put() {
        val request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest()
        assertThat(request.method).isEqualTo("PUT")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top