- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 7,081 for returns (0.12 sec)
-
internal/config/heal/heal.go
if err == nil { switch enabled { case true: return 0, nil case false: return -1, nil } } // Try to parse as a number of months if !strings.HasSuffix(s, "m") { return -1, errors.New("unknown format") } months, err := strconv.Atoi(strings.TrimSuffix(s, "m")) if err != nil { return -1, err } if months < minimumBitrotCycleInMonths {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/base/Utf8.java
* well-formed. * * <p>This method returns {@code true} if and only if {@code Arrays.equals(bytes, new * String(bytes, UTF_8).getBytes(UTF_8))} does, but is more efficient in both time and space. */ public static boolean isWellFormed(byte[] bytes) { return isWellFormed(bytes, 0, bytes.length); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.5K bytes - Viewed (0) -
internal/disk/stat_linux.go
info.Rotational = &rot } } } } return info, nil } // GetDriveStats returns IO stats of the drive by its major:minor func GetDriveStats(major, minor uint32) (iostats IOStats, err error) { return readDriveStats(fmt.Sprintf("/sys/dev/block/%v:%v/stat", major, minor)) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Protocol.kt
*/ HTTP_3("h3"), ; /** * Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or * "h2". * * See also [IANA tls-extensiontype-values][iana]. * * [iana]: https://www.iana.org/assignments/tls-extensiontype-values */ override fun toString(): String = protocol companion object { /** * Returns the protocol identified by `protocol`. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:17:33 UTC 2024 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteSink.java
* additional buffering (for example, a {@code ByteArrayOutputStream}). This method returns a new, * independent stream each time it is called. * * <p>The caller is responsible for ensuring that the returned stream is closed. * * @throws IOException if an I/O error occurs while opening the stream * @since 15.0 (in 14.0 with return type {@link BufferedOutputStream})
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 16:55:09 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
case 0x00: return "This folder only"; case 0x03: return "This folder, subfolders and files"; case 0x0B: return "Subfolders and files only"; case 0x02: return "This folder and subfolders"; case 0x0A: return "Subfolders only"; case 0x01:
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.2K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
// getDivisibleSize - returns a greatest common divisor of // all the ellipses sizes. func getDivisibleSize(totalSizes []uint64) (result uint64) { gcd := func(x, y uint64) uint64 { for y != 0 { x, y = y, x%y } return x } result = totalSizes[0] for i := 1; i < len(totalSizes); i++ { result = gcd(result, totalSizes[i]) } return result }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
return var.toString(); } /** Wraps {@code t} in a {@code TypeVariableKey} if it's a type variable. */ @CheckForNull static TypeVariableKey forLookup(Type t) { if (t instanceof TypeVariable) { return new TypeVariableKey((TypeVariable<?>) t); } else { return null; } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
*/ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddNullSupportedMethod() { return getMethod(CollectionAddTester.class, "testAdd_nullSupported"); } /** * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of * {@link java.util.TreeSet} can suppress it with {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0)