Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1861 - 1870 of 7,590 for CLASS (0.06 sec)

  1. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

       */
      static class CountingLoader extends CacheLoader<Object, Object> {
        private final AtomicInteger count = new AtomicInteger();
    
        @Override
        public Object load(Object from) {
          count.incrementAndGet();
          return new Object();
        }
    
        public int getCount() {
          return count.get();
        }
      }
    
      static final class ConstantLoader<K, V> extends CacheLoader<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

    import org.gradle.api.logging.Logging;
    
    import java.util.*;
    
    public class ClassDocPropertiesBuilder extends ModelBuilderSupport {
        private final JavadocConverter javadocConverter;
        private final GenerationListener listener;
        private static final Logger LOG = Logging.getLogger(ClassDocPropertiesBuilder.class);
    
        public ClassDocPropertiesBuilder(JavadocConverter javadocConverter, GenerationListener listener) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

    /**
     * @author shinsuke
     * @author Shunji Makino
     * @author Keiichi Watanabe
     */
    public class AdminPathmapAction extends FessAdminAction {
    
        public static final String ROLE = "admin-pathmap";
    
        private static final Logger logger = LogManager.getLogger(AdminPathmapAction.class);
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           * Otherwise, we'll pin it (and its result) in memory until the timeout task is GCed. (The
           * need to clear our reference to the TimeoutFuture is the reason we use a *static* nested
           * class with a manual reference back to the "containing" class.)
           *
           * This has the nice-ish side effect of limiting reentrancy: run() calls
           * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      public void testCorrectExceptions() {
        Sink sink = new Sink(4);
        assertThrows(IndexOutOfBoundsException.class, () -> sink.putBytes(new byte[8], -1, 4));
        assertThrows(IndexOutOfBoundsException.class, () -> sink.putBytes(new byte[8], 0, 16));
        assertThrows(IndexOutOfBoundsException.class, () -> sink.putBytes(new byte[8], 0, -1));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/MethodUtil.java

         */
        public static String getSignature(final String methodName, final Class<?>... argTypes) {
            assertArgumentNotEmpty("methodName", methodName);
    
            final StringBuilder buf = new StringBuilder(100);
            buf.append(methodName).append("(");
            if (argTypes != null && argTypes.length > 0) {
                for (final Class<?> argType : argTypes) {
                    buf.append(argType.getName()).append(", ");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. docs_src/schema_extra_example/tutorial001_py310_pv1.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
        class Config:
            schema_extra = {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 631 bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java

    import java.util.List;
    
    public class AnnotatedAndAbstractInSuperclassTest extends AbstractEventBusTest<SubClass> {
      abstract static class SuperClass {
        @Subscribe
        public abstract void overriddenAndAnnotatedInSubclass(Object o);
    
        @Subscribe
        public abstract void overriddenInSubclass(Object o);
      }
    
      static class SubClass extends SuperClass {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java

    import java.util.List;
    
    public class AnnotatedAndAbstractInSuperclassTest extends AbstractEventBusTest<SubClass> {
      abstract static class SuperClass {
        @Subscribe
        public abstract void overriddenAndAnnotatedInSubclass(Object o);
    
        @Subscribe
        public abstract void overriddenInSubclass(Object o);
      }
    
      static class SubClass extends SuperClass {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. tests/test_response_code_no_body.py

    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class JsonApiResponse(JSONResponse):
        media_type = "application/vnd.api+json"
    
    
    class Error(BaseModel):
        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: typing.List[Error]
    
    
    @app.get(
        "/a",
        status_code=204,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top