Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 4,434 for Example (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/groovy/buildSrc/src/test/groovy/com/example/JavaConventionPluginTest.groovy

            new File(testProjectDir, 'src/main/java/com/example').mkdirs()
            new File(testProjectDir, 'src/main/java/com/example/Foo.java') << """
                package com.example;
    
                public class Foo {
                    @Deprecated
                    public void deprecatedMethod() {}
                }
            """
    
            new File(testProjectDir, 'src/main/java/com/example/Bar.java') << """
                package com.example;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authorization/cel/metrics_test.go

            	apiserver_authorization_match_condition_evaluation_seconds_bucket{name="wh1.example.com",type="Webhook",le="0.01"} 0
            	apiserver_authorization_match_condition_evaluation_seconds_bucket{name="wh1.example.com",type="Webhook",le="0.025"} 0
            	apiserver_authorization_match_condition_evaluation_seconds_bucket{name="wh1.example.com",type="Webhook",le="0.1"} 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BNDSmokeTest.groovy

            bnd('Import-Package': 'com.example.util.*')
        }
    }
    """
    
            file("src/main/java/com/example/Example.java") << """
    package com.example;
    
    import com.example.util.MyUtil;
    
    public class Example {
        public boolean testIsEmpty(String someString) {
            return MyUtil.myIsEmpty(someString);
        }
    }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_vendor_goversion.txt

    go build example.net/need117
    
    grep '^## explicit; go 1.13$' vendor/modules.txt
    ! go build example.net/bad114
    stderr '^vendor[/\\]example\.net[/\\]bad114[/\\]bad114.go:15:2: duplicate method .?Y.?( .*)?$'
    
    -- go.mod --
    module example.net/m
    
    go 1.16
    
    require (
    	example.net/bad114 v0.1.0
    	example.net/need117 v0.1.0
    )
    
    replace (
    	example.net/bad114 v0.1.0 => ./bad114
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 21:29:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/test/kotlin/com/example/JavaConventionPluginTest.kt

            testProjectDir.newFolder("src", "main", "java", "com", "example")
            testProjectDir.newFile("src/main/java/com/example/Foo.java").writeText("""
                package com.example;
    
                public class Foo {
                    @Deprecated
                    public void deprecatedMethod() {}
                }
            """)
    
            testProjectDir.newFile("src/main/java/com/example/Bar.java").writeText("""
                package com.example;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_tidy_compat_implicit.txt

    )
    
    require example.net/lazy v0.1.0
    -- implicit.go --
    package implicit
    
    import _ "example.net/lazy"
    -- lazy/go.mod --
    // Module lazy requires example.com/retract/incompatible v1.0.0.
    //
    // When viewed from the outside it also has a transitive dependency
    // on v2.0.0+incompatible, but in lazy mode that transitive dependency
    // is pruned out.
    module example.net/lazy
    
    go 1.17
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top