- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for argparse (0.09 sec)
-
ci/official/utilities/convert_msys_paths_to_win_paths.py
"""Converts MSYS Linux-like paths stored in env variables to Windows paths. This is necessary on Windows, because some applications do not understand/handle Linux-like paths MSYS uses, for example, Docker. """ import argparse import os def should_convert(var_name: str, blacklist: list[str] | None, whitelist_prefix: list[str] | None): """Check the variable name against white/black lists."""
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Aug 07 23:01:25 UTC 2024 - 2.5K bytes - Viewed (0) -
configure.py
# limitations under the License. # ============================================================================== """configure script to get build parameters from user.""" import argparse import errno import json import os import platform import re import shutil import subprocess import sys _DEFAULT_CUDA_COMPUTE_CAPABILITIES = '3.5,7.0'
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 48.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
return Double.valueOf(input); } catch (NumberFormatException e) { return null; } } @GwtIncompatible // Doubles.tryParse private static void checkTryParse(String input) { Double expected = referenceTryParse(input); assertThat(Doubles.tryParse(input)).isEqualTo(expected); if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
tryParseAndAssertEquals(LEAST, Integer.toString(LEAST)); assertThat(Ints.tryParse("")).isNull(); assertThat(Ints.tryParse("-")).isNull(); assertThat(Ints.tryParse("+1")).isNull(); assertThat(Ints.tryParse("9999999999999999")).isNull(); assertWithMessage("Max integer + 1") .that(Ints.tryParse(Long.toString(((long) GREATEST) + 1))) .isNull(); assertWithMessage("Max integer * 10")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
tryParseAndAssertEquals(MIN_VALUE, Long.toString(MIN_VALUE)); assertThat(Longs.tryParse("")).isNull(); assertThat(Longs.tryParse("-")).isNull(); assertThat(Longs.tryParse("+1")).isNull(); assertThat(Longs.tryParse("999999999999999999999999")).isNull(); assertWithMessage("Max long + 1") .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString())) .isNull();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
return null; } } @GwtIncompatible // Floats.tryParse private static void checkTryParse(String input) { assertThat(Floats.tryParse(input)).isEqualTo(referenceTryParse(input)); } @GwtIncompatible // Floats.tryParse private static void checkTryParse(float expected, String input) { assertThat(Floats.tryParse(input)).isEqualTo(Float.valueOf(expected)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
return Double.valueOf(input); } catch (NumberFormatException e) { return null; } } @GwtIncompatible // Doubles.tryParse private static void checkTryParse(String input) { Double expected = referenceTryParse(input); assertThat(Doubles.tryParse(input)).isEqualTo(expected); if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
return null; } } @GwtIncompatible // Floats.tryParse private static void checkTryParse(String input) { assertThat(Floats.tryParse(input)).isEqualTo(referenceTryParse(input)); } @GwtIncompatible // Floats.tryParse private static void checkTryParse(float expected, String input) { assertThat(Floats.tryParse(input)).isEqualTo(Float.valueOf(expected)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* a length of zero or cannot be parsed as an integer value * @throws NullPointerException if {@code string} is {@code null} * @since 11.0 */ @CheckForNull public static Integer tryParse(String string) { return tryParse(string, 10); } /** * Parses the specified string as a signed integer value using the specified radix. The ASCII
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 31K bytes - Viewed (0) -
doc/godebug.md
Go 1.23 changed the mode bits reported by [`os.Lstat`](/pkg/os#Lstat) and [`os.Stat`](/pkg/os#Stat) for reparse points, which can be controlled with the `winsymlink` setting. As of Go 1.23 (`winsymlink=1`), mount points no longer have [`os.ModeSymlink`](/pkg/os#ModeSymlink) set, and reparse points that are not symlinks, Unix sockets, or dedup files now
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 28 14:46:33 UTC 2024 - 17.2K bytes - Viewed (0)