- Sort Score
- Result 10 results
- Languages All
Results 1541 - 1550 of 1,808 for try (0.04 sec)
-
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
// the range have a lower bound throw new IllegalArgumentException( "Neither the DiscreteDomain nor this range set are bounded below"); } else if (!span.hasUpperBound()) { try { domain.maxValue(); } catch (NoSuchElementException e) { throw new IllegalArgumentException( "Neither the DiscreteDomain nor this range set are bounded above"); } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
docs/en/docs/python-types.md
But then you have to call "that method that converts the first letter to upper case". Was it `upper`? Was it `uppercase`? `first_uppercase`? `capitalize`? Then, you try with the old programmer's friend, editor autocompletion. You type the first parameter of the function, `first_name`, then a dot (`.`) and then hit `Ctrl+Space` to trigger the completion. But, sadly, you get nothing useful:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
L created = supplier.get(); ArrayReference<L> newRef = new ArrayReference<>(created, index, queue); while (!locks.compareAndSet(index, existingRef, newRef)) { // we raced, we need to re-read and try again existingRef = locks.get(index); existing = existingRef == null ? null : existingRef.get(); if (existing != null) { return existing; } } drainQueue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionList.java
* RuntimeException runtime exceptions} thrown by the executor. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static void executeListener(Runnable runnable, Executor executor) { try { executor.execute(runnable); } catch (Exception e) { // sneaky checked exception // Log it and keep going -- bad runnable and/or executor. Don't punish the other runnables ifRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
import jcifs.Configuration; @ExtendWith(MockitoExtension.class) class SmbTreeConnectionTraceTest { // Helper to build a minimal smb URL private static URL smbUrl(String spec) { try { return new URL(null, spec, new Handler()); } catch (MalformedURLException e) { throw new AssertionError("Failed to create SMB URL: " + spec, e); } }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
// To test this properly, we would need to mock connect0() and the tree object. // This is a limitation of unit testing such a coupled class. // We expect an SmbException because it will try to connect. assertThrows(SmbException.class, () -> share.getType()); } @Test public void testIsHiddenForDollarShare() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
docs/kms/IAM.md
secure key store. For example, you can run MinIO + KES + Hashicorp Vault. > What about an exiting MinIO deployment? Can I just upgrade my cluster? Yes, MinIO will try to transparently migrate any existing IAM data and either stores it in plaintext (no KMS) or re-encrypts using the KMS. > Is this change backward compatible? Will it break my setup?
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
// Since the real method will propagate the exception from handle.close(), // we need to catch it to verify that pipe.close() was still called try { handle.close(); fail("Expected IOException to be thrown"); } catch (IOException e) { assertEquals("Handle close failed", e.getMessage()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
} @Test void testLocaleIndependent() { Locale orig = Locale.getDefault(); Locale[] locales = {Locale.ENGLISH, new Locale("tr"), Locale.getDefault()}; try { for (Locale locale : locales) { Locale.setDefault(locale); checkVersionsEqual("1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ"); } } finally {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
* @param q The query string. * @param fields The fields to search in. * @return The QueryBuilder instance. */ protected QueryBuilder buildQuery(final String q, final List<String> fields) { try { final QueryBuilder queryBuilder; if (Strings.isNullOrEmpty(q)) { queryBuilder = QueryBuilders.matchAllQuery(); } else {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 17.8K bytes - Viewed (0)