- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 839 for ALWAYS (0.09 seconds)
-
android/guava/src/com/google/common/base/Strings.java
* * @param string the string which should appear at the end of the result * @param minLength the minimum length the resulting string must have. Can be zero or negative, in * which case the input string is always returned. * @param padChar the character to insert at the beginning of the result until the minimum length * is reached * @return the padded string */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
/** * Tests that specifying any alphanumeric characters as 'safe' causes an {@link * IllegalArgumentException}. */ public void testBadArguments_badchars() { String msg = "Alphanumeric characters are always 'safe' and should not be explicitly specified"; IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> new PercentEscaper("-+#abc.!", false));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0) -
docs/en/docs/advanced/dataclasses.md
Again, you can combine `dataclasses` with standard type annotations. 8. Notice that this *path operation function* uses regular `def` instead of `async def`. As always, in FastAPI you can combine `def` and `async def` as needed. If you need a refresher about when to use which, check out the section _"In a hurry?"_ in the docs about [`async` and `await`](../async.md#in-a-hurry).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
cmd/erasure-sets.go
failure for all cases. // Pseudo code for managing `format.json`. // Generic checks. if (no quorum) return error if (any disk is corrupt) return error // Always error if (jbod inconsistent) return error // Always error. if (disks not recognized) // Always error. // Specific checks. if (all disks online) if (all disks return format.json) if (jbod consistent) if (all disks recognized)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
android/guava/src/com/google/common/collect/AbstractListMultimap.java
} /** * Stores a key-value pair in the multimap. * * @param key key to store in the multimap * @param value value to store in the multimap * @return {@code true} always */ @CanIgnoreReturnValue @Override public boolean put(@ParametricNullness K key, @ParametricNullness V value) { return super.put(key, value); } /** * {@inheritDoc} *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 4.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
sb.append(delim); sb.append(comp); delim = DELIMITER_STRING; } dummy ^= sb.toString().length(); } return dummy; } /** * Always append the delimiter after the component, and in the very end shortens the buffer to get * rid of the extra trailing delimiter. */ @Benchmark int alwaysAppendThenBackUp(int reps) { int dummy = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 5K bytes - Click Count (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
} @Test void testClose() throws CIFSException { assertFalse(context.isCloseCalled()); boolean result = context.close(); assertFalse(result); // AbstractCIFSContext always returns false for close() assertTrue(context.isCloseCalled()); } @Test void testRun_successfulClose() throws CIFSException { // Simulate the shutdown hook being runCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
internal/dsync/dsync-client_test.go
TLSHandshakeTimeout: 15 * time.Second, ExpectContinueTimeout: 15 * time.Second, // Go net/http automatically unzip if content-type is // gzip disable this feature, as we are always interested // in raw stream. DisableCompression: true, } return &ReconnectRESTClient{ u: u, rest: rest.NewClient(u, tr, nil), } } // Close closes the underlying socket file descriptor.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 20 17:36:09 GMT 2022 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
"Domain name does not have a recognized public suffix: " + host); } /** * Attempts to return a {@code HostSpecifier} for the given string, throwing an exception if * parsing fails. Always use this method in preference to {@link #fromValid(String)} for a * specifier that is not already known to be valid. * * @throws ParseException if the specifier is not valid. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6K bytes - Click Count (0) -
internal/pubsub/pubsub.go
types uint64 numSubscribers int32 maxSubscribers int32 // not atomics: subs []*Sub[T] sync.RWMutex } // Publish message to the subscribers. // Note that publish is always non-blocking send so that we don't block on slow receivers. // Hence receivers should use buffered channel so as not to miss the published events. func (ps *PubSub[T, M]) Publish(item T) { ps.RLock() defer ps.RUnlock()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 06 16:57:30 GMT 2024 - 5.2K bytes - Click Count (0)