Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 5,693 for classe (0.04 seconds)

  1. android/guava/src/com/google/common/base/Throwables.java

       *
       * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code
       *     ClassCastException}'s cause is {@code throwable}.
       * @since 22.0
       */
      @GwtIncompatible // Class.cast(Object)
      public static <X extends Throwable> @Nullable X getCauseAs(
          Throwable throwable, Class<X> expectedCauseType) {
        try {
          return expectedCauseType.cast(throwable.getCause());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    class UrlSourceTest {
    
        @Test
        void testUrlSource() {
            NullPointerException e = assertThrows(
                    NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url");
            assertEquals("url cannot be null", e.getMessage());
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

      public static final class TwoArgConstructorException extends Exception {
        public TwoArgConstructorException(String message, Throwable cause) {
          super(message, cause);
        }
      }
    
      public static final class TwoArgConstructorRuntimeException extends RuntimeException {
        public TwoArgConstructorRuntimeException(String message, Throwable cause) {
          super(message, cause);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

     * This class extends StandardRoot to provide custom web resource handling
     * for Fess plugins, including support for plugin JAR files in the WEB-INF/plugin directory.
     */
    public class FessWebResourceRoot extends StandardRoot {
        /** Logger instance for this class */
        private static final Logger logger = Logger.getLogger(FessWebResourceRoot.class.getName());
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/JavaClassPublicifier.java

                    if (classFile.contains("$")) {
                        // java inexplicably has an inner class contain itself as an inner class...
                        makeInnerClassPublic(classNode, classNode.name.split("\\$")[1]);
                    }
                });
    
                if (classFile.contains("$")) {
                    // for inner classes, also need to adjust the parent
                    String[] parts = classFile.split("\\$");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Gets the value for the entry. */
        V getValue();
      }
    
      /*
       * Note: the following classes have a lot of duplicate code. It sucks, but it saves a lot of
       * memory. If only Java had mixins!
       */
    
      /** Base class for {@link InternalEntry} implementations for strong keys. */
      abstract static class AbstractStrongKeyEntry<K, V, E extends InternalEntry<K, V, E>>
          implements InternalEntry<K, V, E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        setImplementation(Appendable.class, StringBuilder.class);
        setImplementation(BlockingQueue.class, LinkedBlockingDeque.class);
        setImplementation(BlockingDeque.class, LinkedBlockingDeque.class);
        setImplementation(ConcurrentMap.class, ConcurrentHashMap.class);
        setImplementation(ConcurrentNavigableMap.class, ConcurrentSkipListMap.class);
        setImplementation(CountDownLatch.class, Dummies.DummyCountDownLatch.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/fscc/FileSystemInformation.java

         */
        byte FS_SIZE_INFO = 3;
        /**
         * File system full size information constant.
         */
        byte FS_FULL_SIZE_INFO = 7;
    
        /**
         * Gets the file system information class.
         *
         * @return file system information class
         */
        byte getFileSystemInformationClass();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. tests/test_inherited_custom_class.py

        class SomeCustomClass(BaseModel):
            model_config = {"arbitrary_types_allowed": True}
    
            a_uuid: MyUuid
    
            @field_serializer("a_uuid")
            def serialize_a_uuid(self, v):
                return str(v)
    
        @app.get("/get_custom_class")
        def return_some_user():
            # Test that the fix also works for custom pydantic classes
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/job/SuggestJob.java

            buf.append(cpSeparator);
            // WEB-INF/classes
            buf.append("WEB-INF");
            buf.append(File.separator);
            buf.append("classes");
            // target/classes
            final String userDir = System.getProperty("user.dir");
            final File targetDir = new File(userDir, "target");
            final File targetClassesDir = new File(targetDir, "classes");
            if (targetClassesDir.isDirectory()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
Back to Top