Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Strtol (0.13 sec)

  1. src/regexp/testdata/testregex.c

    			if (*p == '+' || *p == '-')
    				m += strtol(p, &p, 10);
    		}
    		else
    			m = strtol(p, &p, 10);
    		if (*p++ != ',')
    			bad("improper answer\n", re, s, -1, test);
    		if (*p == '?')
    		{
    			n = -1;
    			p++;
    		}
    		else if (*p == 'R' && !memcmp(p, "RE_DUP_MAX", 10))
    		{
    			n = RE_DUP_MAX;
    			p += 10;
    			if (*p == '+' || *p == '-')
    				n += strtol(p, &p, 10);
    		}
    		else
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

        # Consider if there is a way to check if activation fusion is properly
        # done in MLIR level.
        # Tests that the quantized graph outputs similar values. The rtol and atol
        # values are arbitrary.
        self.assertAllClose(new_outputs, expected_outputs, rtol=0.3, atol=0.2)
    
        # Due to other meta data, the compression is not exactly 1/4.
        self.assertLess(
            testing.get_size_ratio(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	}
    
    	if namespaceIsSet {
    		paramRef.Namespace = matchingNamespace
    	}
    
    	if denyNotFound {
    		paramRef.ParameterNotFoundAction = ptrTo(admissionregistrationv1.DenyAction)
    	} else {
    		paramRef.ParameterNotFoundAction = ptrTo(admissionregistrationv1.AllowAction)
    	}
    
    	compiler := &fakeCompiler{}
    	matcher := &fakeMatcher{
    		DefaultMatch: true,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. src/reflect/type.go

    var ptrMap sync.Map // map[*rtype]*ptrType
    
    // PtrTo returns the pointer type with element t.
    // For example, if t represents type Foo, PtrTo(t) represents *Foo.
    //
    // PtrTo is the old spelling of [PointerTo].
    // The two functions behave identically.
    //
    // Deprecated: Superseded by [PointerTo].
    func PtrTo(t Type) Type { return PointerTo(t) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritedec64.go

    	v_0 := v.Args[0]
    	b := v.Block
    	config := b.Func.Config
    	// match: (Store {t} dst (Int64Make hi lo) mem)
    	// cond: t.Size() == 8 && !config.BigEndian
    	// result: (Store {hi.Type} (OffPtr <hi.Type.PtrTo()> [4] dst) hi (Store {lo.Type} dst lo mem))
    	for {
    		t := auxToType(v.Aux)
    		dst := v_0
    		if v_1.Op != OpInt64Make {
    			break
    		}
    		lo := v_1.Args[1]
    		hi := v_1.Args[0]
    		mem := v_2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/type.go

    		TUINT32, TINT64, TUINT64, TINT, TUINT,
    		TUINTPTR, TCOMPLEX64, TCOMPLEX128, TFLOAT32, TFLOAT64:
    		return true
    	}
    	return false
    }
    
    func (t *Type) PtrTo() *Type {
    	return NewPtr(t)
    }
    
    func (t *Type) NumFields() int {
    	if t.kind == TRESULTS {
    		return len(t.extra.(*Results).Types)
    	}
    	return len(t.Fields())
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top