Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 137 for roundUp (0.06 sec)

  1. guava-tests/test/com/google/common/math/StatsTest.java

            .of(LONG_MANY_VALUES_MEAN);
      }
    
      public void testToByteArrayAndFromByteArrayRoundTrip() {
        for (Stats stats : ALL_STATS) {
          byte[] statsByteArray = stats.toByteArray();
    
          // Round trip to byte array and back
          assertThat(Stats.fromByteArray(statsByteArray)).isEqualTo(stats);
        }
      }
    
      public void testFromByteArray_withNullInputThrowsNullPointerException() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/LinkedHashMultimap.java

        private ValueSetLink<K, V> lastEntry;
    
        ValueSet(@ParametricNullness K key, int expectedValues) {
          this.key = key;
          this.firstEntry = this;
          this.lastEntry = this;
          // Round expected values up to a power of 2 to get the table size.
          int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR);
    
          @SuppressWarnings({"rawtypes", "unchecked"})
          @Nullable
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    1e10                uint64      10000000000 is in the set of unsigned 64-bit integers
    2.718281828459045   float32     2.718281828459045 rounds to 2.7182817 which is in the set of float32 values
    -1e-1000            float64     -1e-1000 rounds to IEEE -0.0 which is further simplified to 0.0
    0i                  int         0 is an integer value
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js

    econd(),this.highlightSecond();break;case"meridian":this.toggleMeridian(),this.highlightMeridian();break;default:c>0?this.incrementHour():this.decrementHour(),this.highlightHour()}return!1}},changeToNearestStep:function(a,b){return a%b===0?a:Math.round(a%b/b)?(a+(b-a%b))%60:a-a%b},place:function(){if(!this.isInline){var c=this.$widget.outerWidth(),d=this.$widget.outerHeight(),e=10,f=a(b).width(),g=a(b).height(),h=a(b).scrollTop(),i=parseInt(this.$element.parents().filter(function(){return"auto"!...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 04:21:06 UTC 2020
    - 18.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      /** Resizes the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity = min(CompactHashing.MAX_SIZE, (entriesSize + max(1, entriesSize >>> 1)) | 1);
          if (newCapacity != entriesSize) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Splitter.java

     *
     * <p>Splitter instances are thread-safe immutable, and are therefore safe to store as {@code static
     * final} constants.
     *
     * <p>The {@link Joiner} class provides the inverse operation to splitting, but note that a
     * round-trip between the two should be assumed to be lossy.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/StringsExplained#splitter">{@code Splitter}</a>.
     *
     * @author Julien Silland
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    			}
    			sleep := defaultDialTimeout + time.Duration(rng.Int63n(int64(defaultDialTimeout)))
    			next := dialStarted.Add(sleep / 2)
    			sleep = time.Until(next).Round(time.Millisecond)
    			if sleep < 0 {
    				sleep = 0
    			}
    			gotState := c.State()
    			if gotState == StateShutdown {
    				return
    			}
    			if gotState != StateConnecting {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. src/archive/tar/tar_test.go

    	var b bytes.Buffer
    	tw := NewWriter(&b)
    	hdr := &Header{
    		Name:       "file.txt",
    		Uid:        1 << 21, // Too big for 8 octal digits
    		Size:       int64(len(data)),
    		ModTime:    time.Now().Round(time.Second),
    		PAXRecords: map[string]string{"uid": "2097152"},
    		Format:     FormatPAX,
    		Typeflag:   TypeReg,
    	}
    	if err := tw.WriteHeader(hdr); err != nil {
    		t.Fatalf("tw.WriteHeader: %v", err)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteSource.java

       *
       * <p>If {@link CharSource#asByteSource} is called on the returned source with the same charset,
       * the default implementation of this method will ensure that the original {@code ByteSource} is
       * returned, rather than round-trip encoding. Subclasses that override this method should behave
       * the same way.
       */
      public CharSource asCharSource(Charset charset) {
        return new AsCharSource(charset);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/Stats.java

       * obtained by calling {@code snapshot()} on the same {@link StatsAccumulator} without adding any
       * values in between the two calls, or if one is obtained from the other after round-tripping
       * through java serialization. However, floating point rounding errors mean that it may be false
       * for some instances where the statistics are mathematically equal, including instances
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top