Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 226 for Embed0 (0.1 sec)

  1. src/go/types/object_test.go

    	}
    
    	// get embedded error.Error method
    	iface := pkg.Scope().Lookup("I")
    	embed, _, _ := LookupFieldOrMethod(iface.Type(), false, nil, "Error")
    	if embed == nil {
    		t.Fatalf("embedded error.Error not found")
    	}
    
    	// original and embedded Error object should be identical
    	if orig != embed {
    		t.Fatalf("%s (%p) != %s (%p)", orig, orig, embed, embed)
    	}
    }
    
    var testObjects = []struct {
    	src   string
    	obj   string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/register.go

    // SetGroupVersionKind satisfies the ObjectKind interface for all objects that embed TypeMeta
    func (obj *TypeMeta) SetGroupVersionKind(gvk schema.GroupVersionKind) {
    	obj.APIVersion, obj.Kind = gvk.ToAPIVersionAndKind()
    }
    
    // GroupVersionKind satisfies the ObjectKind interface for all objects that embed TypeMeta
    func (obj *TypeMeta) GroupVersionKind() schema.GroupVersionKind {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 13 15:08:46 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  3. src/embed/internal/embedtest/embedx_test.go

    // license that can be found in the LICENSE file.
    
    package embedtest_test
    
    import (
    	"embed"
    	"os"
    	"testing"
    )
    
    var (
    	global2      = global
    	concurrency2 = concurrency
    	glass2       = glass
    	sbig2        = sbig
    	bbig2        = bbig
    )
    
    //go:embed testdata/*.txt
    var global embed.FS
    
    //go:embed c*txt
    var concurrency string
    
    //go:embed testdata/g*.txt
    var glass []byte
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 15 20:37:17 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

        public abstract ConfigurableFileCollection getJquery();
    
        /**
         * The release notes javascript to embed in the HTML
         */
        @InputFile
        @PathSensitive(PathSensitivity.NONE)
        public abstract RegularFileProperty getReleaseNotesJavascriptFile();
    
        /**
         * The release notes CSS to embed in the HTML
         */
        @InputFile
        @PathSensitive(PathSensitivity.NONE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 28 06:35:15 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue49602.go

    }
    
    type _ interface {
    	int | M          // ERROR "cannot use p.M in union (p.M contains methods)"
    	int | comparable // ERROR "cannot use comparable in union"
    	int | C          // ERROR "cannot use p.C in union (p.C embeds comparable)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 466 bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/HttpScriptPluginInEncodingtegrationSpec.groovy

            and:
            def scriptFile = file("script-encoding.gradle")
            scriptFile.setText("""
    task check {
        doLast {
            assert java.nio.charset.Charset.defaultCharset().name() == "UTF-8"
            // embed a euro character in the text - this is encoded differently in ISO-8859-15 and UTF-8
            assert '\u20AC'.charAt(0) == 0x20AC
        }
    }
    """, "ISO-8859-15")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:45:30 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/third_party/svgpan/svgpan.go

    // SVG pan and zoom library.
    // See copyright notice in string constant below.
    
    package svgpan
    
    import _ "embed"
    
    // https://github.com/aleofreddi/svgpan
    
    //go:embed svgpan.js
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 196 bytes
    - Viewed (0)
  8. docs_src/body_multiple_params/tutorial005_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item = Body(embed=True)):
        results = {"item_id": item_id, "item": item}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 369 bytes
    - Viewed (0)
  9. okhttp-android/build.gradle.kts

      androidTestImplementation(libs.assertk)
      androidTestImplementation(projects.mockwebserver3Junit4)
      androidTestImplementation(libs.androidx.test.runner)
    }
    
    mavenPublishing {
      // AGP 7.2 embeds Dokka 4, which breaks publishing. Android modules are hardcoded to generate Javadoc instead of Gfm.
      configure(com.vanniktech.maven.publish.AndroidSingleVariantLibrary(publishJavadocJar=false))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. pkg/controlplane/apiserver/completion.go

    import (
    	"k8s.io/apiserver/pkg/endpoints/discovery"
    	genericapiserver "k8s.io/apiserver/pkg/server"
    )
    
    type completedConfig struct {
    	Generic genericapiserver.CompletedConfig
    	*Extra
    }
    
    // CompletedConfig embeds a private pointer that cannot be instantiated outside of this package
    type CompletedConfig struct {
    	*completedConfig
    }
    
    func (c *Config) Complete() CompletedConfig {
    	cfg := completedConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 06:13:43 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top