Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 128 for sortie (0.24 sec)

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

          return PSEUDORANDOM_DATASET_SORTED.get(position);
        } else {
          int positionFloor = IntMath.divide(199 * index, 2, FLOOR);
          int positionCeil = IntMath.divide(199 * index, 2, CEILING);
          double lowerValue = PSEUDORANDOM_DATASET_SORTED.get(positionFloor);
          double upperValue = PSEUDORANDOM_DATASET_SORTED.get(positionCeil);
          return (lowerValue + upperValue) / 2.0;
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesTest.java

          return PSEUDORANDOM_DATASET_SORTED.get(position);
        } else {
          int positionFloor = IntMath.divide(199 * index, 2, FLOOR);
          int positionCeil = IntMath.divide(199 * index, 2, CEILING);
          double lowerValue = PSEUDORANDOM_DATASET_SORTED.get(positionFloor);
          double upperValue = PSEUDORANDOM_DATASET_SORTED.get(positionCeil);
          return (lowerValue + upperValue) / 2.0;
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FluentIterable.java

       * ImmutableList} sorted by its natural ordering, use {@code toSortedList(Ordering.natural())}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code
       * ImmutableList.copyOf(stream.sorted(comparator).iterator())}, or pass {@link
       * ImmutableList#toImmutableList} to {@code stream.sorted(comparator).collect()}.
       *
       * @param comparator the function by which to sort list elements
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Comparators.java

       * // returns {"foo", "quux"}
       * }</pre>
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
       * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n
       * log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       * @since 33.2.0 (available since 22.0 in guava-jre)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedInts.java

          return "UnsignedInts.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the array, treating its elements as unsigned 32-bit integers.
       *
       * @since 23.1
       */
      public static void sort(int[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. cmd/endpoint-ellipses.go

    		setCounts = append(setCounts, setCount)
    	}
    
    	// Not necessarily needed but it ensures to the readers
    	// eyes that we prefer a sorted setCount slice for the
    	// subsequent function to figure out the right common
    	// divisor, it avoids loops.
    	sort.Slice(setCounts, func(i, j int) bool {
    		return setCounts[i] < setCounts[j]
    	})
    
    	return setCounts
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. cmd/metacache-entries_test.go

    	}
    
    	sorted := o.sort()
    	if !o.isSorted() {
    		t.Fatal("Expected sorted o objects")
    	}
    	if !sorted.entries().isSorted() {
    		t.Fatal("Expected sorted wrapped objects")
    	}
    	want := loadMetacacheSampleNames
    	for i, got := range o {
    		if got.name != want[i] {
    			t.Errorf("entry %d, want %q, got %q", i, want[i], got.name)
    		}
    	}
    }
    
    func Test_metaCacheEntries_forwardTo(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

      private static byte flip(byte b) {
        return (byte) (b ^ 0x80);
      }
    
      /**
       * Sorts the array, treating its elements as unsigned bytes.
       *
       * @since 23.1
       */
      public static void sort(byte[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    				meta.name = strings.TrimSuffix(meta.name, SlashSeparator)
    				meta.name = pathJoinBuf(sb, current, meta.name)
    
    				return send(meta)
    			}
    			// Skip all other files.
    		}
    
    		// Process in sort order.
    		sort.Strings(entries)
    		dirStack := make([]string, 0, 5)
    		prefix = "" // Remove prefix after first level as we have already filtered the list.
    		if len(forward) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. docs/de/docs/python-types.md

    Ich denke, `Union[SomeType, None]` ist expliziter bezüglich seiner Bedeutung.
    
    Es geht nur um Wörter und Namen. Aber diese Worte können beeinflussen, wie Sie und Ihre Teamkollegen über den Code denken.
    
    Nehmen wir zum Beispiel diese Funktion:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial009c.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top