Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 5,232 for Example (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

            """
            file("build-logic/src/main/java/com/example/restricted/LibraryExtension.java") << defineLibraryExtension()
            file("build-logic/src/main/java/com/example/restricted/SoftwareTypeRegistrationPlugin.java") << defineSettingsPluginRegisteringSoftwareTypeProvidingPlugin()
            file("build-logic/src/main/java/com/example/restricted/RestrictedPlugin.java") << """
                package com.example.restricted;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. 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)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

            given:
            def producer = file('producer')
            def consumer = file('consumer')
            def pluginModule = mavenRepo.module('com.example', 'producer', '1.0')
            def pluginMarker = mavenRepo.module('com.example.greeting', 'com.example.greeting.gradle.plugin', '1.0')
    
            producer.file('settings.gradle') << ''
            producer.file('build.gradle') << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K 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