Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 337 for Sizes (0.44 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate.go

    }
    
    type backend struct {
    	// The delegate backend that actually exports events.
    	delegateBackend audit.Backend
    
    	// Configuration used for truncation.
    	c Config
    
    	// Encoder used to calculate audit event sizes.
    	e runtime.Encoder
    }
    
    var _ audit.Backend = &backend{}
    
    // NewBackend returns a new truncating backend, using configuration passed in the parameters.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 00:03:53 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

          // side_input_scale and not relevant in this case.
          auto sizes = mlir::DenseI32ArrayAttr::get(context, {1, 1, 1, 0});
          auto attr_name =
              StringAttr::get(context, mlir::OpTrait::AttrSizedOperandSegments<
                                           void>::getOperandSegmentSizeAttr());
          attrs.push_back(NamedAttribute(attr_name, sizes));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. src/internal/types/testdata/spec/range_int.go

    // This is a subset of the tests in range.go for range over integers,
    // with extra tests, and without the need for -goexperiment=range.
    
    package p
    
    // test framework assumes 64-bit int/uint sizes by default
    const (
    	maxInt  = 1<<63 - 1
    	maxUint = 1<<64 - 1
    )
    
    type MyInt int32
    
    func _() {
    	for range -1 {
    	}
    	for range 0 {
    	}
    	for range 1 {
    	}
    	for range uint8(1) {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:56:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/math/big/nat_test.go

    			for i := 0; i < b.N; i++ {
    				n.setBytes(buf[:l])
    			}
    		})
    	}
    }
    
    func TestNatDiv(t *testing.T) {
    	sizes := []int{
    		1, 2, 5, 8, 15, 25, 40, 65, 100,
    		200, 500, 800, 1500, 2500, 4000, 6500, 10000,
    	}
    	for _, i := range sizes {
    		for _, j := range sizes {
    			a := rndNat1(i)
    			b := rndNat1(j)
    			// the test requires b >= 2
    			if len(b) == 1 && b[0] == 1 {
    				b[0] = 2
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_cl.cc

    // NOLINTNEXTLINE
    opt<std::string> input_shapes(
        "tf-input-shapes",
        llvm::cl::desc(
            "Input tensor shapes. Shapes for different tensors are separated by "
            "':', and dimension sizes for the same tensor are separated by ','"),
        llvm::cl::init(""));
    
    // NOLINTNEXTLINE
    opt<std::string> output_arrays(
        "tf-output-arrays", llvm::cl::desc("Output tensor names, separated by ','"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 10 20:59:50 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. src/crypto/rsa/pss.go

    	// length in octets of the RSA modulus n." 🙄
    	//
    	// This is extremely annoying, as all other encrypt and decrypt inputs are
    	// always the exact same size as the modulus. Since it only happens for
    	// weird modulus sizes, fix it by padding inefficiently.
    	if emLen, k := len(em), priv.Size(); emLen < k {
    		emNew := make([]byte, k)
    		copy(emNew[k-emLen:], em)
    		em = emNew
    	}
    
    	return decrypt(priv, em, withCheck)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/internal/trace/traceviewer/mmu.go

    // utilization distribution for that window size.
    //
    // Render plot progressively so rough outline is visible quickly even
    // for very complex MUTs. Start by computing just a few window sizes
    // and then add more window sizes.
    //
    // Consider using sampling to compute an approximate MUT. This would
    // work by sampling the mutator utilization at randomly selected
    // points in time in the trace to build an empirical distribution. We
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  8. docs/erasure/README.md

    The drives should all be of approximately the same size.
    
    ## Get Started with MinIO in Erasure Code
    
    ### 1. Prerequisites
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  9. tests/binary/binaries_test.go

    		}
    
    		for _, denylist := range denylistedFlags {
    			if strings.Contains(string(out), denylist) {
    				t.Fatalf("binary contains unexpected flags: %v", string(out))
    			}
    		}
    	})
    }
    
    // Test that binary sizes do not bloat
    func TestBinarySizes(t *testing.T) {
    	cases := map[string]struct {
    		minMb int64
    		maxMb int64
    	}{
    		// TODO: shrink the ranges here once the active work to reduce binary size is complete
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. cmd/last-minute.go

    		return
    	}
    	for l.LastSec != t {
    		// Clear next element.
    		idx := (l.LastSec + 1) % 60
    		l.Totals[idx] = AccElem{}
    		l.LastSec++
    	}
    }
    
    // LastMinuteHistogram keeps track of last minute sizes added.
    type LastMinuteHistogram [sizeLastElemMarker]lastMinuteLatency
    
    // Merge safely merges two LastMinuteHistogram structures into one
    func (l LastMinuteHistogram) Merge(o LastMinuteHistogram) (merged LastMinuteHistogram) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top