Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 747 for type3 (0.09 sec)

  1. 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)
  2. 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)
  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/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)
  6. 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)
  7. 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)
  8. src/go/types/api_test.go

    	}{
    		// void
    		{`package n0; func f() { f() }`, `f()`, `void`},
    
    		// types
    		{`package t0; type _ int`, `int`, `type`},
    		{`package t1; type _ []int`, `[]int`, `type`},
    		{`package t2; type _ func()`, `func()`, `type`},
    		{`package t3; type _ func(int)`, `int`, `type`},
    		{`package t3; type _ func(...int)`, `...int`, `type`},
    
    		// built-ins
    		{`package b0; var _ = len("")`, `len`, `builtin`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.cc

        int index = it.index();
        Type type0 = std::get<0>(it.value());
        Type type1 = std::get<1>(it.value());
        if (!AreCastCompatible({type0, type1}))
          return op->emitOpError(llvm::formatv(
              "{0} type {1} is incompatible with {2} type {3} at index {4}",
              range0.second, type0, range1.second, type1, index));
      }
      return success();
    }
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/internal/abi/type.go

    }
    
    // Imethod represents a method on an interface type
    type Imethod struct {
    	Name NameOff // name of method
    	Typ  TypeOff // .(*FuncType) underneath
    }
    
    // ArrayType represents a fixed array type.
    type ArrayType struct {
    	Type
    	Elem  *Type // array element type
    	Slice *Type // slice type
    	Len   uintptr
    }
    
    // Len returns the length of t if t is an array type, otherwise 0
    func (t *Type) Len() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top