Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 643 for type_ (0.05 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            expect:
            type.signature == 'org.gradle.SomeType<Type1, Type2>'
        }
    
        def formatsSignatureForWildcardType() {
            type.setWildcard()
    
            expect:
            type.signature == '?'
        }
    
        def formatsSignatureForWildcardWithUpperBound() {
            type.setUpperBounds(new TypeMetaData('OtherType'))
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  2. src/go/doc/example_test.go

    const Const1 = 0
    var   Var1   = 0
    
    type (
    	Type1     int
    	Type1_Foo int
    	Type1_foo int
    	type2     int
    
    	Embed struct { Type1 }
    	Uembed struct { type2 }
    )
    
    func Func1()     {}
    func Func1_Foo() {}
    func Func1_foo() {}
    func func2()     {}
    
    func (Type1) Func1() {}
    func (Type1) Func1_Foo() {}
    func (Type1) Func1_foo() {}
    func (Type1) func2() {}
    
    func (type2) Func1() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. src/encoding/gob/type.go

    )
    
    // userTypeInfo stores the information associated with a type the user has handed
    // to the package. It's computed once and stored in a map keyed by reflection
    // type.
    type userTypeInfo struct {
    	user        reflect.Type // the type the user handed us
    	base        reflect.Type // the base type after all indirections
    	indir       int          // number of indirections to reach the base type
    	externalEnc int          // xGob, xBinary, or xText
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. fastapi/routing.py

                                content_type_value = request.headers.get("content-type")
                                if not content_type_value:
                                    json_body = await request.json()
                                else:
                                    message = email.message.Message()
                                    message["content-type"] = content_type_value
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/Type1.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.snapshot.impl
    
    enum Type1 {
        ONE {}, TWO {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 694 bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/elf.go

    			if esr == 0 {
    				ldr.Errorf(s, "reloc %d (%s) to non-elf symbol %s (outer=%s) %d (%s)", r.Type(), sym.RelocName(ctxt.Arch, r.Type()), ldr.SymName(r.Sym()), ldr.SymName(rr.Xsym), ldr.SymType(r.Sym()), ldr.SymType(r.Sym()).String())
    			}
    			if !ldr.AttrReachable(rr.Xsym) {
    				ldr.Errorf(s, "unreachable reloc %d (%s) target %v", r.Type(), sym.RelocName(ctxt.Arch, r.Type()), ldr.SymName(rr.Xsym))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            def cl = loader.parseClass("package ${Type1.package.name}; enum Type1 { TWO, THREE } ")
            assert cl != Type1
            assert cl.name == Type1.name
    
            expect:
            def isolated = isolatableFactory.isolate(Type1.TWO)
            isolated.coerce(Type1).is(Type1.TWO)
            isolated.coerce(Type2) == null
            isolated.coerce(String) == null
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaStoreTest.groovy

        def store = new DefaultModelSchemaStore(extractor)
    
        def "caches schema for a type"() {
            // intentionally use two different “instances” of the same type
            def type1 = ModelType.of(SimpleManagedType)
            def type2 = ModelType.of(SimpleManagedType)
    
            expect:
            store.getSchema(type1).is(store.getSchema(type2))
        }
    
        def "each thread receives same schema object"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            def snapshot = snapshotter.snapshot(Type1.TWO)
            snapshotter.snapshot(Type1.TWO, snapshot).is(snapshot)
    
            snapshotter.snapshot(Type1.ONE, snapshot) != snapshot
            snapshotter.snapshot(Type1.ONE, snapshot) == snapshotter.snapshot(Type1.ONE)
    
            snapshotter.snapshot(Type2.TWO, snapshot) != snapshot
            snapshotter.snapshot(Type2.TWO, snapshot) == snapshotter.snapshot(Type2.TWO)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue53650.go

    import (
    	"reflect"
    	"testing"
    )
    
    type T1 int
    type T2 int
    
    func f[P T1 | T2, _ []P]() {}
    
    var _ = f[T1]
    
    // test case from issue
    
    type BaseT interface {
    	Type1 | Type2
    }
    type BaseType int
    type Type1 BaseType
    type Type2 BaseType // float64
    
    type ValueT[T BaseT] struct {
    	A1 T
    }
    
    func NewType1() *ValueT[Type1] {
    	r := NewT[Type1]()
    	return r
    }
    func NewType2() *ValueT[Type2] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:58 UTC 2023
    - 877 bytes
    - Viewed (0)
Back to top