Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,581 for type3 (0.06 sec)

  1. platforms/software/security/src/test/groovy/org/gradle/plugins/signing/type/type/AbstractSignatureTypeProviderSpec.groovy

            provider.hasTypeForExtension(type2.extension)
            !provider.hasTypeForExtension(type3.extension)
        }
    
        def "default type"() {
            expect:
            provider.defaultType == type1
    
            when:
            provider.defaultType = type2.extension
    
            then:
            provider.defaultType == type2
        }
    
        def "can't set default type to unregistered type"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. internal/mountinfo/mountinfo_linux_test.go

    // and success cases.
    func TestCrossDeviceMountPaths(t *testing.T) {
    	successCase := `/dev/0 /path/to/0/1 type0 flags 0 0
    		/dev/1    /path/to/1   type1	flags 1 1
    		/dev/2 /path/to/1/2 type2 flags,1,2=3 2 2
                    /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3
    		`
    	var err error
    	dir := t.TempDir()
    	mountsPath := filepath.Join(dir, "mounts")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. 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)
  4. src/internal/trace/testdata/testprog/annotations-stress.go

    	ctx1, t1 := trace.NewTask(ctx0, "type1")
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    	t1.End()
    
    	// Create a task that starts during the trace and ends after.
    	ctx2, t2 := trace.NewTask(ctx0, "type2")
    
    	// Create a task that starts and ends during the trace.
    	ctx3, t3 := trace.NewTask(baseCtx, "type3")
    
    	// Generate some events.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top