Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,898 for typeA (0.21 sec)

  1. src/encoding/gob/encoder_test.go

    func TestTypeToPtrType(t *testing.T) {
    	// Encode a T, decode a *T
    	type Type0 struct {
    		A int
    	}
    	t0 := Type0{7}
    	t0p := new(Type0)
    	if err := encAndDec(t0, t0p); err != nil {
    		t.Error(err)
    	}
    }
    
    func TestPtrTypeToType(t *testing.T) {
    	// Encode a *T, decode a T
    	type Type1 struct {
    		A uint
    	}
    	t1p := &Type1{17}
    	var t1 Type1
    	if err := encAndDec(t1, t1p); err != nil {
    		t.Error(err)
    	}
    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. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(buffer.readByteString()).isEqualTo("A20743054A6F6E6573".decodeHex())
      }
    
      @Test fun `decode implicit tagged implicit prefixed type`() {
        // Type1 ::= VisibleString
        // Type2 ::= [APPLICATION 3] IMPLICIT Type1
        // Type3 ::= [2] Type2
        // Type4 ::= [APPLICATION 7] IMPLICIT Type3
        val buffer =
          Buffer()
            .write("670743054A6F6E6573".decodeHex())
    
        val derReader = DerReader(buffer)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt

            override val diagnosticClass get() = IncompatibleTypes::class
            val typeA: KaType
            val typeB: KaType
        }
    
        interface IncompatibleTypesWarning : KaFirDiagnostic<KtElement> {
            override val diagnosticClass get() = IncompatibleTypesWarning::class
            val typeA: KaType
            val typeB: KaType
        }
    
        interface TypeVarianceConflictError : KaFirDiagnostic<PsiElement> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 11:41:05 UTC 2024
    - 172.6K 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. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt

    internal class IncompatibleTypesImpl(
        override val typeA: KaType,
        override val typeB: KaType,
        firDiagnostic: KtPsiDiagnostic,
        token: KaLifetimeToken,
    ) : KaAbstractFirDiagnostic<KtElement>(firDiagnostic, token), KaFirDiagnostic.IncompatibleTypes
    
    internal class IncompatibleTypesWarningImpl(
        override val typeA: KaType,
        override val typeB: KaType,
        firDiagnostic: KtPsiDiagnostic,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 11:41:05 UTC 2024
    - 227.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmSsp.java

                    Type1Message type1 = new Type1Message(src);
                    Type2Message type2 = new Type2Message(tc, type1, challenge, null);
                    msg = new String(Base64.encode(type2.toByteArray()), "US-ASCII");
                    resp.setHeader("WWW-Authenticate", "NTLM " + msg);
                }
                else if ( src[ 8 ] == 3 ) {
                    Type3Message type3 = new Type3Message(src);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top