Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2681 - 2690 of 7,014 for _return (0.05 sec)

  1. mockwebserver/README.md

            switch (request.getPath()) {
                case "/v1/login/auth/":
                    return new MockResponse().setResponseCode(200);
                case "/v1/check/version/":
                    return new MockResponse().setResponseCode(200).setBody("version=9");
                case "/v1/profile/info":
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. tests/test_security_oauth2_optional_description.py

        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    def login(form_data: OAuth2PasswordRequestFormStrict = Depends()):
        return form_data
    
    
    @app.get("/users/me")
    def read_users_me(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
        return current_user
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            }
            return mavenSession;
        }
    
        @Override
        public List<Project> getProjects(List<MavenProject> projects) {
            return projects == null ? null : map(projects, this::getProject);
        }
    
        @Override
        public Project getProject(MavenProject project) {
            return project != null && project.getBasedir() != null
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. tests/helper_test.go

    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    }
    
    func isSqlite() bool {
    	return os.Getenv("GORM_DIALECT") == "sqlite"
    }
    
    func db(unscoped bool) *gorm.DB {
    	if unscoped {
    		return DB.Unscoped()
    	} else {
    		return DB
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/allcommon/EsPagingResultBean.java

            this.builder = builder;
        }
    
        public String getQueryDsl() {
            return builder.toString();
        }
    
        public long getTook() {
            return took;
        }
    
        public void setTook(long took) {
            this.took = took;
        }
    
        public int getTotalShards() {
            return totalShards;
        }
    
        public void setTotalShards(int totalShards) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/RelatedQueryTests.java

        @Override
        protected String getNamePrefix() {
            return NAME_PREFIX;
        }
    
        @Override
        protected String getApiPath() {
            return API_PATH;
        }
    
        @Override
        protected String getKeyProperty() {
            return KEY_PROPERTY;
        }
    
        @Override
        protected String getListEndpointSuffix() {
            return LIST_ENDPOINT_SUFFIX;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularImmutableMap.java

        }
    
        @Override
        K get(int index) {
          return map.entries[index].getKey();
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          return map.containsKey(object);
        }
    
        @Override
        boolean isPartialView() {
          return true;
        }
    
        @Override
        public int size() {
          return map.size();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof BigDecimal) {
                return (BigDecimal) o;
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return new BigDecimal(new SimpleDateFormat(pattern).format(o));
                }
                return new BigDecimal(Long.toString(((java.util.Date) o).getTime()));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/DelegatingNameServiceClient.java

        public NetbiosName getUnknownName () {
            return this.nscl.getUnknownName();
        }
    
    
        @Override
        public NetbiosAddress[] getNodeStatus ( NetbiosAddress nbtAddress ) throws UnknownHostException {
            return this.nscl.getNodeStatus(nbtAddress);
        }
    
    
        @Override
        public NetbiosAddress getNbtByName ( String host ) throws UnknownHostException {
            return this.nscl.getNbtByName(host);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy

                return this
            }
            return new MethodDoc(refererMetaData, metaData, comment)
        }
    
        String getId() {
            return id
        }
    
        String getName() {
            return metaData.name
        }
    
        MethodMetaData getMetaData() {
            return metaData
        }
    
        boolean isDeprecated() {
            return metaData.deprecated && !referringClass.deprecated
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
Back to top