- Sort Score
- Num 10 results
- Language All
Results 2031 - 2040 of 2,371 for Try (0.06 seconds)
-
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
testData.add(createRelatedQuery("test", new String[] { "updated" }, "")); mockBhv.setTestData(testData); relatedQueryHelper.update(); // Give a moment for async execution try { Thread.sleep(100); } catch (InterruptedException e) { // ignore } results = relatedQueryHelper.getRelatedQueries("test");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.7K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
* @param data the raw PAC logon info buffer data * @throws PACDecodingException if the data is malformed or invalid */ public PacLogonInfo(final byte[] data) throws PACDecodingException { try { final PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data))); // Skip firsts pacStream.skipBytes(20); // DatesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
// Act + Assert CIFSException ex = assertThrows(CIFSException.class, () -> { TestIterator.staticThrowOnOpen = true; // Set flag before constructor try { TestIterator.create(tree, parent, "*", null, 0, entry("first"), pages); } finally { TestIterator.staticThrowOnOpen = false; // Reset flag } });Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/LicenseAnalyzer.java
this.pattern = pattern; } public String getIdentifier() { return identifier; } public boolean matches(File licenseFile) { try { String content = Files.readString(licenseFile.toPath()).replaceAll("\\*", " "); return pattern.matcher(content).find(); } catch (IOException e) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jul 27 00:12:58 GMT 2021 - 12.8K bytes - Click Count (0) -
helm-releases/minio-5.4.0.tgz
echo "Bucket '$BUCKET' versioning unchanged." fi # At this point, the bucket should exist, skip checking for existence # Set policy on the bucket echo "Setting policy of bucket '$BUCKET' to '$POLICY'." ${MC} anonymous set $POLICY myminio/$BUCKET } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.buckets }} {{ $global := . }} # Create the buckets {{- range .Values.buckets }} createBucket {{ tpl .name...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jan 03 05:34:47 GMT 2025 - 21.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
} private static int distinctElements(@Nullable AvlNode<?> node) { return (node == null) ? 0 : node.distinctElements; } @Override public int count(@Nullable Object element) { try { @SuppressWarnings("unchecked") E e = (E) element; AvlNode<E> root = rootReference.get(); if (!range.contains(e) || root == null) { return 0; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
private static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) { return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (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()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (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 {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (0) -
helm-releases/minio-4.0.10.tgz
else echo "Bucket '$BUCKET' versioning unchanged." fi # At this point, the bucket should exist, skip checking for existence # Set policy on the bucket echo "Setting policy of bucket '$BUCKET' to '$POLICY'." ${MC} policy set $POLICY myminio/$BUCKET } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.buckets }} {{ $global := . }} # Create the buckets {{- range .Values.buckets }} createBucket {{ tpl .name...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 04 16:09:22 GMT 2022 - 19.2K bytes - Click Count (0)