Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for auxint (0.79 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc

      Operation* const operation_;
    };
    
    // APSInt provides operators which APInt does not, so allow for converting
    // to APSInt for computation. Only APInts can be directly read from
    // element attributes.
    static const APFloat& AddSign(const APFloat& v) { return v; }
    static APSInt AddSign(const APInt& v) { return APSInt(v); }
    
    template <typename ResultType>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 06:11:55 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/descriptor/UrlRepositoryDescriptor.java

                cacheHasher.putString(implementation.getName());
                cacheHasher.putInt(metadataResources.size());
                for (ResourcePattern ivyPattern : metadataResources) {
                    cacheHasher.putString(ivyPattern.getPattern());
                }
                cacheHasher.putInt(artifactResources.size());
                for (ResourcePattern artifactPattern : artifactResources) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. cmd/metrics-v3-audit.go

    		"Total number of messages sent since start",
    		targetID)
    )
    
    // loadAuditMetrics - `MetricsLoaderFn` for audit
    // such as failed messages and total messages.
    func loadAuditMetrics(_ context.Context, m MetricValues, c *metricsCache) error {
    	audit := logger.CurrentStats()
    	for id, st := range audit {
    		labels := []string{targetID, id}
    		m.Set(auditFailedMessages, float64(st.FailedMessages), labels...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:50:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

    namespace mlir {
    namespace odml {
    
    static const APFloat &addSign(const APFloat &v, Type) { return v; }
    static APSInt addSign(const APInt &v, Type t) {
      // Add signedness information to the value, treating signless as signed,
      // unless it's i1.
      return APSInt(v, t.isUnsignedInteger() || t.isSignlessInteger(1));
    }
    
    // Helper method that given 'shape' and 'current_index' representing
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            when:
            runWithInput("askInt", INT_PROMPT, stdin)
    
            then:
            outputContains("result = $accepted")
    
            where:
            stdin | accepted
            "2"   | 2
            "34"  | 34
            ""    | 3
        }
    
        def "does not prompt user for int question in non-interactive build"() {
            when:
            run("askInt")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/math/big/ratmarsh.go

    	}
    	b := buf[0]
    	if b>>1 != ratGobVersion {
    		return fmt.Errorf("Rat.GobDecode: encoding version %d not supported", b>>1)
    	}
    	const j = 1 + 4
    	ln := byteorder.BeUint32(buf[j-4 : j])
    	if uint64(ln) > math.MaxInt-j {
    		return errors.New("Rat.GobDecode: invalid length")
    	}
    	i := j + int(ln)
    	if len(buf) < i {
    		return errors.New("Rat.GobDecode: buffer too small")
    	}
    	z.a.neg = b&1 != 0
    	z.a.abs = z.a.abs.setBytes(buf[j:i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

    #include <algorithm>
    #include <cassert>
    #include <cmath>
    #include <cstdint>
    #include <cstring>
    #include <utility>
    
    #include "llvm/ADT/APFloat.h"
    #include "llvm/ADT/APInt.h"
    #include "llvm/ADT/APSInt.h"
    #include "mlir/Dialect/Quant/QuantTypes.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributeInterfaces.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/strings/strings.go

    	case 0:
    		return ""
    	case 1:
    		return elems[0]
    	}
    
    	var n int
    	if len(sep) > 0 {
    		if len(sep) >= maxInt/(len(elems)-1) {
    			panic("strings: Join output length overflow")
    		}
    		n += len(sep) * (len(elems) - 1)
    	}
    	for _, elem := range elems {
    		if len(elem) > maxInt-n {
    			panic("strings: Join output length overflow")
    		}
    		n += len(elem)
    	}
    
    	var b Builder
    	b.Grow(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  9. src/internal/trace/base.go

    	}
    	// Find the range of IDs.
    	maxID := EI(0)
    	minID := ^EI(0)
    	for id := range d.sparse {
    		if id > maxID {
    			maxID = id
    		}
    		if id < minID {
    			minID = id
    		}
    	}
    	if maxID >= math.MaxInt {
    		// We can't create a slice big enough to hold maxID elements
    		return
    	}
    	// We're willing to waste at most 2x memory.
    	if int(maxID-minID) > max(len(d.sparse), 2*len(d.sparse)) {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. src/bytes/buffer_test.go

    		if err := recover(); err != ErrTooLarge {
    			t.Errorf("after too-large Grow, recover() = %v; want %v", err, ErrTooLarge)
    		}
    	}()
    
    	buf := NewBuffer(make([]byte, 1))
    	const maxInt = int(^uint(0) >> 1)
    	buf.Grow(maxInt)
    }
    
    // Was a bug: used to give EOF reading empty slice at EOF.
    func TestReadEmptyAtEOF(t *testing.T) {
    	b := new(Buffer)
    	slice := make([]byte, 0)
    	n, err := b.Read(slice)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top