Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 554 for typeA (0.67 sec)

  1. pilot/pkg/model/network_test.go

    	} else {
    		domain := msg.Question[0].Name
    		c, ok := s.hosts[domain]
    		if ok {
    			s.hosts[domain]++
    			switch r.Question[0].Qtype {
    			case dns.TypeA:
    				msg.Answer = append(msg.Answer, &dns.A{
    					Hdr: dns.RR_Header{Name: domain, Rrtype: dns.TypeA, Class: dns.ClassINET, Ttl: s.ttl},
    					A:   net.ParseIP(fmt.Sprintf("10.0.0.%d", c)),
    				})
    			case dns.TypeAAAA:
    				// set a long TTL for AAAA
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 01:18:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. src/net/resolverdialfunc_test.go

    	HandleAAAA func(w AAAAWriter, name string) error
    	HandleSRV  func(w SRVWriter, name string) error
    }
    
    type ResponseWriter struct{ a *resolverFuncConn }
    
    func (w ResponseWriter) header() dnsmessage.ResourceHeader {
    	q := w.a.q
    	return dnsmessage.ResourceHeader{
    		Name:  q.Name,
    		Type:  q.Type,
    		Class: q.Class,
    		TTL:   w.a.ttl,
    	}
    }
    
    // SetTTL sets the TTL for subsequent written resources.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. 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)
  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. 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. 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)
  7. 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)
  8. api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java

    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.*;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target({FIELD, METHOD, TYPE})
    @Retention(RUNTIME)
    @Documented
    public @interface Typed {
        Class<?>[] value() default {};
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 1.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/cmd/vendor/golang.org/x/tools/internal/typesinternal/types.go

    // license that can be found in the LICENSE file.
    
    // Package typesinternal provides access to internal go/types APIs that are not
    // yet exported.
    package typesinternal
    
    import (
    	"go/token"
    	"go/types"
    	"reflect"
    	"unsafe"
    )
    
    func SetUsesCgo(conf *types.Config) bool {
    	v := reflect.ValueOf(conf).Elem()
    
    	f := v.FieldByName("go115UsesCgo")
    	if !f.IsValid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top