Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 491 for size2 (0.06 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

    }
    
    // Returns the number of elements in `range`.
    template <typename Range>
    size_t Size(Range&& range) {
      return range.size();
    }
    
    // Returns the total number of elements in a variadic number of `ranges`.
    template <typename Range, typename... RangeTs>
    size_t Size(Range&& range, RangeTs&&... ranges) {
      return range.size() + Size(std::forward<RangeTs>(ranges)...);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. test/fixedbugs/gcc61258.go

    // run
    
    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // PR61258: gccgo crashed when deleting a zero-sized key from a map.
    
    package main
    
    func main() {
    	delete(make(map[[0]bool]int), [0]bool{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 310 bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              format(
                  "estimated size of spliterator after trySplit (%s) is larger than original size (%s)",
                  spliterator.estimateSize(), originalSize));
        }
        if (trySplit != null) {
          if (trySplit.estimateSize() > originalSize) {
            fail(
                format(
                    "estimated size of trySplit result (%s) is larger than original size (%s)",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    				fnName, abi = trimABI(fnName)
    				flag := m[3]
    				fn = knownFunc[fnName][arch]
    				if fn != nil {
    					size, _ := strconv.Atoi(m[5])
    					if size != fn.size && (flag != "7" && !strings.Contains(flag, "NOSPLIT") || size != 0) {
    						badf("wrong argument size %d; expected $...-%d", size, fn.size)
    					}
    				}
    				localSize, _ = strconv.Atoi(m[4])
    				localSize += archDef.intSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. test/fixedbugs/gcc61265.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // PR61265: The gccgo middle-end failed to represent array composite literals
    // where the elements are zero-sized values.
    // This is a reduction of a program reported by GoSmith.
    
    package p
    
    var a = [1][0]int{B}[0]
    var B = [0]int{}
    var c = [1]struct{}{D}[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 450 bytes
    - Viewed (0)
  6. cmd/utils_test.go

    	"strings"
    	"testing"
    )
    
    // Tests maximum object size.
    func TestMaxObjectSize(t *testing.T) {
    	sizes := []struct {
    		isMax bool
    		size  int64
    	}{
    		// Test - 1 - maximum object size.
    		{
    			true,
    			globalMaxObjectSize + 1,
    		},
    		// Test - 2 - not maximum object size.
    		{
    			false,
    			globalMaxObjectSize - 1,
    		},
    	}
    	for i, s := range sizes {
    		isMax := isMaxObjectSize(s.size)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/runtime/mksizeclasses.go

    			continue
    		}
    		classes = append(classes, class{size: size, npages: npages})
    	}
    
    	// Increase object sizes if we can fit the same number of larger objects
    	// into the same number of pages. For example, we choose size 8448 above
    	// with 6 objects in 7 pages. But we can well use object size 9472,
    	// which is also 6 objects in 7 pages but +1024 bytes (+12.12%).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

          delete[] array_;
      }
    
      // STL-style container methods.
      size_t size() const { return size_; }
      const_iterator begin() const { return array_; }
      const_iterator end() const { return array_ + size_; }
      bool operator==(const NativeArray& rhs) const {
        return size() == rhs.size() &&
            ArrayEq(begin(), size(), rhs.begin());
      }
    
     private:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
            int size = Smb2Constants.SMB2_HEADER_LENGTH + 36 + size8(2 * this.dialects.length, 4);
            if ( this.negotiateContexts != null ) {
                for ( NegotiateContextRequest ncr : this.negotiateContexts ) {
                    size += 8 + size8(ncr.size());
                }
            }
            return size8(size);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  10. test/codegen/zerosize.go

    // asmcheck
    
    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure a pointer variable and a zero-sized variable
    // aren't allocated to the same stack slot.
    // See issue 24993.
    
    package codegen
    
    func zeroSize() {
    	c := make(chan struct{})
    	// amd64:`MOVQ\t\$0, command-line-arguments\.s\+56\(SP\)`
    	var s *int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 18:19:47 UTC 2022
    - 650 bytes
    - Viewed (0)
Back to top