Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3371 - 3380 of 7,250 for return (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/DerivedTestIteratorGenerator.java

        this.collectionGenerator = collectionGenerator;
      }
    
      @Override
      public TestSubjectGenerator<? extends Iterable<E>> getInnerGenerator() {
        return collectionGenerator;
      }
    
      @Override
      public Iterator<E> get() {
        return collectionGenerator.createTestSubject().iterator();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/BeanFieldSetAccessibleFailureException.java

            this.targetClass = componentClass;
            this.targetField = targetField;
        }
    
        public Class<?> getTargetClass() {
            return targetClass;
        }
    
        public Field getTargetField() {
            return targetField;
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Fri Mar 08 13:23:29 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/BeanMethodSetAccessibleFailureException.java

            this.targetClass = componentClass;
            this.targetMethod = targetMethod;
        }
    
        public Class<?> getTargetClass() {
            return targetClass;
        }
    
        public Method getTargetMethod() {
            return targetMethod;
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Fri Mar 08 13:23:29 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/BufferCache.java

    /**
     * Internal API for managing reusable buffers
     * 
     * @author mbechler
     * @internal
     */
    public interface BufferCache {
    
        /**
         * 
         * @return a buffer from the cache, or a new one
         */
        byte[] getBuffer ();
    
    
        /**
         * Return a buffer to the cache
         * 
         * @param buf
         */
        void releaseBuffer ( byte[] buf );
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  5. tests/test_security_api_key_header_description.py

    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_api_key():
        response = client.get("/users/me", headers={"key": "secret"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSetInformationResponse.java

        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            assertNull(groovyEngine.evaluate("", params));
            assertEquals("", groovyEngine.evaluate("return ''", params));
            assertEquals(1, groovyEngine.evaluate("return 1", params));
    
            params.put("test", "123");
            assertEquals("123", groovyEngine.evaluate("return test", params));
        }
    
        public void test_getName() {
            assertEquals("groovy", groovyEngine.getName());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

          int j = i & ARRAY_MASK;
          tmp += LongMath.pow(positive[j], exponents[j]);
        }
        return tmp;
      }
    
      @Benchmark
      int mod(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += LongMath.mod(longs[j], positive[j]);
        }
        return tmp;
      }
    
      @Benchmark
      int gCD(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

            docBuilder = new ClassDocBuilder(this, javadocConverter)
        }
    
        Collection<gradlebuild.docs.dsl.docbook.model.ClassDoc> getClasses() {
            return classes.values().findAll { !it.name.contains('.internal.') }
        }
    
        boolean isKnownType(String className) {
            return classMetaData.find(className) != null
        }
    
        gradlebuild.docs.dsl.docbook.model.ClassDoc findClassDoc(String className) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  10. docs_src/custom_request_and_route/tutorial003.py

                print(f"route response headers: {response.headers}")
                return response
    
            return custom_route_handler
    
    
    app = FastAPI()
    router = APIRouter(route_class=TimedRoute)
    
    
    @app.get("/")
    async def not_timed():
        return {"message": "Not timed"}
    
    
    @router.get("/timed")
    async def timed():
        return {"message": "It's the time of my life"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 1K bytes
    - Viewed (0)
Back to top