Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,872 for type3 (0.15 sec)

  1. src/encoding/gob/encoder_test.go

    	}
    }
    
    func TestSlice(t *testing.T) {
    	type Type3 struct {
    		A []string
    	}
    	t3p := &Type3{[]string{"hello", "world"}}
    	var t3 Type3
    	if err := encAndDec(t3, t3p); err != nil {
    		t.Error(err)
    	}
    }
    
    func TestValueError(t *testing.T) {
    	// Encode a *T, decode a T
    	type Type4 struct {
    		A int
    	}
    	t4p := &Type4{3}
    	var t4 Type4 // note: not a pointer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/cmd/link/internal/mips64/asm.go

    	targ := r.Sym()
    	var targType sym.SymKind
    	if targ != 0 {
    		targType = ldr.SymType(targ)
    	}
    
    	if r.Type() >= objabi.ElfRelocOffset {
    		ldr.Errorf(s, "unexpected relocation type %d (%s)", r.Type(), sym.RelocName(target.Arch, r.Type()))
    		return false
    	}
    
    	switch r.Type() {
    	case objabi.R_CALLMIPS, objabi.R_JMPMIPS:
    		if targType != sym.SDYNIMPORT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-annotations-stress.test

    String id=18
    	data="wait until GC ends"
    String id=19
    	data="sleep"
    String id=20
    	data="runtime.Gosched"
    String id=21
    	data="start trace"
    String id=22
    	data="type2"
    String id=23
    	data="type3"
    String id=24
    	data="log"
    String id=25
    	data="before do"
    String id=26
    	data="do"
    String id=27
    	data="log2"
    String id=28
    	data="do"
    String id=29
    	data="fanout"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/subtyping/AbstractSemanticSubtypingTest.kt

        override fun KaSession.checkTypes(expectedResult: Boolean, type1: KaType, type2: KaType, testServices: TestServices) {
            testServices.assertions.assertEquals(
                expectedResult,
                type1.isSubTypeOf(type2, KaSubtypingErrorTypePolicy.LENIENT),
            ) {
                "Expected `$type1` to ${if (!expectedResult) "not " else ""}be a subtype of `$type2` with error type leniency" +
                        " (`$resultDirective`)."
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            this(type1, null, null);
        }
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message.
         *
         * @param type1 The Type-1 message which this represents a response to.
         * @param challenge The challenge from the domain controller/server.
         * @param target The authentication target.
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. docs/de/docs/python-types.md

    Diese Typen mit inneren Typen werden „**generische**“ Typen genannt. Es ist möglich, sie mit ihren inneren Typen zu deklarieren.
    
    Um diese Typen und die inneren Typen zu deklarieren, können Sie Pythons Standardmodul `typing` verwenden. Es existiert speziell für die Unterstützung dieser Typhinweise.
    
    #### Neuere Python-Versionen
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:29:25 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top