Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for sounds (0.12 sec)

  1. src/time/time.go

    }
    
    // Round returns the result of rounding d to the nearest multiple of m.
    // The rounding behavior for halfway values is to round away from zero.
    // If the result exceeds the maximum (or minimum)
    // value that can be stored in a [Duration],
    // Round returns the maximum (or minimum) duration.
    // If m <= 0, Round returns d unchanged.
    func (d Duration) Round(m Duration) Duration {
    	if m <= 0 {
    		return d
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    //
    // If index is out of bounds, an error code will be set in the status object,
    // and -1 will be returned.
    TF_CAPI_EXPORT extern int64_t TF_DeviceListMemoryBytes(
        const TF_DeviceList* list, int index, TF_Status* status);
    
    // Retrieve the incarnation number of a given device.
    //
    // If index is out of bounds, an error code will be set in the status object,
    // and 0 will be returned.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    			}()
    		}
    		wg.Wait()
    
    		if counts[0] != counts[1] {
    			t.Errorf("mismatching method counts for %s: %d vs %d", inst, counts[0], counts[1])
    			continue
    		}
    		for i := 0; i < counts[0]; i++ {
    			if m0, m1 := methods[0][i], methods[1][i]; m0 != m1 {
    				t.Errorf("mismatching methods for %s: %s vs %s", inst, m0, m1)
    			}
    		}
    	}
    }
    
    func TestInstantiateErrors(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/go/types/api_test.go

    			}()
    		}
    		wg.Wait()
    
    		if counts[0] != counts[1] {
    			t.Errorf("mismatching method counts for %s: %d vs %d", inst, counts[0], counts[1])
    			continue
    		}
    		for i := 0; i < counts[0]; i++ {
    			if m0, m1 := methods[0][i], methods[1][i]; m0 != m1 {
    				t.Errorf("mismatching methods for %s: %s vs %s", inst, m0, m1)
    			}
    		}
    	}
    }
    
    func TestInstantiateErrors(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  5. src/runtime/mgcpacer.go

    	gcPercentHeapGoal atomic.Uint64
    
    	// sweepDistMinTrigger is the minimum trigger to ensure a minimum
    	// sweep distance.
    	//
    	// This bound is also special because it applies to both the trigger
    	// *and* the goal (all other trigger bounds must be based *on* the goal).
    	//
    	// It is computed ahead of time, at commit time. The theory is that,
    	// absent a sudden change to a parameter like gcPercent, the trigger
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      let summary = "Op used to indicate to the compiler and runtime the static bounds of a tensor.";
      let description = [{
    The information passed through this op can possibly be used by the compiler and
    runtime to perform certain optimizations such as more efficient DMAs. The
    bounds passed via this op should be considered advisory only, and depending on
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  7. src/time/time_test.go

    			return false
    		}
    
    		// To round, add d back if remainder r > d/2 or r == exactly d/2.
    		// The commented out code would round half to even instead of up,
    		// but that makes it time-zone dependent, which is a bit strange.
    		if r > int64(d)/2 || r+r == int64(d) /*&& bq.Bit(0) == 1*/ {
    			t1 = t1.Add(d)
    		}
    
    		// Check that time.Round works.
    		if rnd := t0.Round(d); rnd != t1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

    // floating point and quantized space. It is designed to reproduce TF's
    // implementation, mirroring the previous XLA implementation.
    //
    // 1. Computing proper quantized bounds. This involves nudging the input bounds.
    // 2. Converting the input bounds to quantized space, rounding values.
    // 3. Convert back into floating point space.
    class ConvertFakeQuantWithMinMaxVarsOp : public RewritePattern {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  9. src/crypto/tls/conn.go

    	buffering bool         // whether records are buffered in sendBuf
    	sendBuf   []byte       // a buffer of records waiting to be sent
    
    	// bytesSent counts the bytes of application data sent.
    	// packetsSent counts packets.
    	bytesSent   int64
    	packetsSent int64
    
    	// retryCount counts the number of consecutive non-advancing records
    	// received by Conn.readRecord. That is, records that neither advance the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        @SuppressWarnings("unused") // used by reflection
        List<N> counts;
      }
    
      public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound()
          throws Exception {
        TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {};
        TypeToken<?> fieldType =
            type.resolveType(Counter.class.getDeclaredField("counts").getGenericType());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
Back to top