Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1231 - 1240 of 1,428 for scratch (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/core/xml/DomUtil.java

            if (encoding == null) {
                return new ByteArrayInputStream(contents.getBytes());
            }
            try {
                return new ByteArrayInputStream(contents.getBytes(encoding));
            } catch (final UnsupportedEncodingException ex) {
                throw new IORuntimeException(ex);
            }
        }
    
        /**
         * Encodes the value of an attribute.
         *
         * @param s
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

        public void test_touch() {
            final ChatSession session = new ChatSession();
            final LocalDateTime initialTime = session.getLastAccessedAt();
    
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                // ignore
            }
    
            session.touch();
    
            assertTrue(session.getLastAccessedAt().isAfter(initialTime) || session.getLastAccessedAt().isEqual(initialTime));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            mockBhv.setTestData(testData);
    
            relatedContentHelper.update();
            // Give a moment for async execution
            try {
                Thread.sleep(100);
            } catch (InterruptedException e) {
                // ignore
            }
    
            results = relatedContentHelper.getRelatedContents("test");
            assertEquals("Updated Content", results[0]);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

            scheduledJob.setId("nonexistent-job");
    
            try {
                scheduledJob.start(Map.of(Constants.JOB_LOG_ID, "some-id"));
                fail("Expected JobNotFoundException");
            } catch (final JobNotFoundException e) {
                // expected
            }
        }
    
        @Test
        public void test_startNoArg_callsLaunchNowWithoutParams() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
        Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/cache/CacheLoader.java

          extends UnsupportedOperationException {
        // Package-private because this should only be thrown by loadAll() when it is not overridden.
        // Cache implementors may want to catch it but should not need to be able to throw it.
        UnsupportedLoadingOperationException() {}
      }
    
      /**
       * Thrown to indicate that an invalid response was returned from a call to {@link CacheLoader}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

            synchronized (this) {
                try {
                    state = 1;
                    final DcerpcMessage bind = new DcerpcBind(binding, this);
                    sendrecv(bind);
                } catch (final IOException ioe) {
                    state = 0;
                    throw ioe;
                }
            }
        }
    
        /**
         * Sends a DCERPC message and receives the response
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                    java.lang.reflect.Field lengthField = ServerMessageBlock2.class.getDeclaredField("length");
                    lengthField.setAccessible(true);
                    lengthField.setInt(this, length);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
    
            @Override
            protected int readBytesWireFormat(byte[] buffer, int bufferIndex) {
                return 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java

                return result.getArtifactResults().stream()
                        .filter(ArtifactResult::isResolved)
                        .map(ArtifactResult::getArtifact)
                        .collect(Collectors.toList());
            } catch (PluginResolutionException | InterpolatorException e) {
                throw new ExtensionResolutionException(extension, e);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                try {
                    Map<Path, Document> pomMap = Map.of(); // Empty for this test
                    return doUpgrade(context, targetModel, pomMap);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
    
            // Helper method from AbstractUpgradeStrategy
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
Back to Top