Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2251 - 2260 of 7,200 for RETURN (0.03 sec)

  1. tests/test_dependency_yield_scope.py

    ]
    
    app = FastAPI()
    router = APIRouter()
    
    
    @router.get("/")
    def get_index():
        return {"status": "ok"}
    
    
    @app.get("/function-scope")
    def function_scope(session: SessionFuncDep) -> Any:
        def iter_data():
            yield json.dumps({"is_open": session.open})
    
        return StreamingResponse(iter_data())
    
    
    @app.get("/request-scope")
    def request_scope(session: SessionRequestDep) -> Any:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            for (final IntervalRule rule : ruleList) {
                if (rule.isTarget(h, m, d)) {
                    return rule.getDelay();
                }
            }
            return 0;
        }
    
        /**
         * Gets the current calendar instance set to the system time.
         *
         * @return the current calendar instance
         */
        protected Calendar getCurrentCal() {
            final Calendar cal = Calendar.getInstance();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

                return ((Long) value).floatValue();
            }
            if (value instanceof Float) {
                return (Float) value;
            }
            if (value instanceof Double) {
                return ((Double) value).floatValue();
            }
            if (value != null) {
                return Float.parseFloat(value.toString());
            }
    
            return 0.0f;
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

            // Already zero-initialized
    
            return data;
        }
    
        /**
         * Get size of this message
         *
         * @return size in bytes (32)
         */
        public static int size() {
            return 32;
        }
    
        // Getters and setters
    
        /**
         * Get the minimum SMB Direct protocol version
         *
         * @return minimum protocol version
         */
        public int getMinVersion() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

        @Override
        public byte getFileInformationLevel() {
            return FileInformation.FILE_BASIC_INFO;
        }
    
        @Override
        public int getAttributes() {
            return this.attributes;
        }
    
        @Override
        public long getCreateTime() {
            return this.createTime;
        }
    
        @Override
        public long getLastWriteTime() {
            return this.lastWriteTime;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            return classifier + ':' + extension;
        }
    
        @Override
        public String getGroupId() {
            return metadata.getGroupId();
        }
    
        @Override
        public String getArtifactId() {
            return metadata.getArtifactId();
        }
    
        @Override
        public String getVersion() {
            return metadata.getVersion();
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/TempFileCreator.java

                    return "acl:acl";
                  }
    
                  @Override
                  public ImmutableList<AclEntry> value() {
                    return acl;
                  }
                };
            return () -> attribute;
          } catch (IOException e) {
            // We throw a new exception each time so that the stack trace is right.
            return () -> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 18:50:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

                // - Checking for required native libraries
    
                return true;
            } catch (ClassNotFoundException e) {
                log.debug("DiSNI not available: {}", e.getMessage());
                return false;
            } catch (UnsatisfiedLinkError e) {
                log.debug("DiSNI native libraries not available: {}", e.getMessage());
                return false;
            }
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java

         *
         * <p>This method is called during model building for various model objects.
         * Implementations can:</p>
         * <ul>
         *   <li>Return the same object if no processing is desired</li>
         *   <li>Return a pooled equivalent object to reduce memory usage</li>
         *   <li>Return a modified or optimized version of the object</li>
         * </ul>
         *
         * <p>The implementation must ensure that the returned object is functionally
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top