Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 433 for Sizing (0.37 sec)

  1. guava/src/com/google/common/primitives/Shorts.java

       */
      public static String join(String separator, short... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 6);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  2. src/encoding/binary/binary_test.go

    		{make([]struct{ A Struct }, 1), 0},
    	}
    
    	for _, tc := range testcases {
    		if Size(tc.val) == -1 {
    			t.Fatalf("Can't get the size of %T", tc.val)
    		}
    
    		if n := added(); n != tc.want {
    			t.Errorf("Sizing %T added %d entries to the cache, want %d", tc.val, n, tc.want)
    		}
    	}
    }
    
    func TestSizeInvalid(t *testing.T) {
    	testcases := []any{
    		int(0),
    		new(int),
    		(*int)(nil),
    		[1]uint{},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

       */
      public static String join(String separator, long... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 10);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Longs.java

       */
      public static String join(String separator, long... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 10);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Doubles.java

       */
      public static String join(String separator, double... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 12);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Doubles.java

       */
      public static String join(String separator, double... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 12);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

        // TODO(cpovirk): Consider using Object[] anyway.
        E[] array = (E[]) elements.toArray();
        /*
         * For a Set, we guess that it contains no duplicates. That's just a guess for purpose of
         * sizing; if the Set uses different equality semantics, it might contain duplicates according
         * to equals(), and we will deduplicate those properly, albeit at some cost in allocations.
         */
        int expectedSize =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Ints.java

       */
      public static String join(String separator, int... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 5);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  9. src/main/webapp/css/admin/bootstrap.min.css.map

    https://developer.paciellogroup.com/blog/2018/03/focus-visible-and-backwards-compatibility/\n[tabindex=\"-1\"]:focus:not(:focus-visible) {\n  outline: 0 !important;\n}\n\n\n// Content grouping\n//\n// 1. Add the correct box sizing in Firefox.\n// 2. Show the overflow in Edge and IE.\n\nhr {\n  box-sizing: content-box; // 1\n  height: 0; // 1\n  overflow: visible; // 2\n}\n\n\n//\n// Typography\n//\n\n// Remove top margins from headings\n//\n// By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 626.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

       */
      public static String join(String separator, int... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 5);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top