Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 590 for session1 (0.19 sec)

  1. docs_src/websockets/tutorial002.py

        return HTMLResponse(html)
    
    
    async def get_cookie_or_token(
        websocket: WebSocket,
        session: Union[str, None] = Cookie(default=None),
        token: Union[str, None] = Query(default=None),
    ):
        if session is None and token is None:
            raise WebSocketException(code=status.WS_1008_POLICY_VIOLATION)
        return session or token
    
    
    @app.websocket("/items/{item_id}/ws")
    async def websocket_endpoint(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 13 16:10:54 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. cmd/ftp-server.go

    // Print implement Logger
    func (log *minioLogger) Print(sessionID string, message interface{}) {
    	if serverDebugLog {
    		fmt.Printf("%s %s\n", sessionID, message)
    	}
    }
    
    // Printf implement Logger
    func (log *minioLogger) Printf(sessionID string, format string, v ...interface{}) {
    	if serverDebugLog {
    		if sessionID != "" {
    			fmt.Printf("%s %s\n", sessionID, fmt.Sprintf(format, v...))
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function_test.cc

                const std::vector<std::vector<int32_t>>& expected_results) {
        // Create a session for this graph
        CSession csession(host_graph_, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
        // Run
        csession.SetInputs(inputs);
        csession.SetOutputs(outputs);
        csession.Run(s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
        // Check results
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        public void execute(MavenSession session) {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

     * </ul>
     *
     * <h2>Usage Example</h2>
     *
     * <pre>
     * {@code
     * Session session = ... // Obtain a Maven session
     * Packaging packaging = session.requirePackaging("jar");
     * System.out.println(packaging.getId()); // Outputs "jar"
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Session#requirePackaging(String)
     * @see org.apache.maven.api.Project#getPackaging()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                throws ProjectBuilderException, IllegalArgumentException {
            InternalMavenSession session = InternalMavenSession.from(request.getSession());
            try {
                List<ArtifactRepository> repositories = session.toArtifactRepositories(
                        request.getRepositories() != null ? request.getRepositories() : session.getRemoteRepositories());
                ProjectBuildingRequest req = new DefaultProjectBuildingRequest()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

        private ArtifactRepositoryFactory artifactRepositoryFactory;
    
        public AuthenticationInfo getAuthenticationInfo(String id) {
            MavenSession session = legacySupport.getSession();
    
            if (session != null && id != null) {
                MavenExecutionRequest request = session.getRequest();
    
                if (request != null) {
                    List<Server> servers = request.getServers();
    
                    if (servers != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/SessionScoped.java

    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that annotated component should be instantiated before session execution starts
     * and discarded after session execution completes.
     *
     * @since 3.2.0
     */
    @Target({TYPE})
    @Retention(RUNTIME)
    @ScopeAnnotation
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCacheFactory.java

     */
    @Singleton
    @Named
    @Deprecated(since = "4.0.0")
    public class DefaultModelCacheFactory implements ModelCacheFactory {
        @Override
        public ModelCache createCache(RepositorySystemSession session) {
            return DefaultModelCache.newInstance(session);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                if (Constants.FALSE.equals(initParamMap.getAsString(DELETE_OLD_DOCS))) {
                    return;
                }
                final String sessionId = initParamMap.getAsString(Constants.SESSION_ID);
                if (StringUtil.isBlank(sessionId)) {
                    logger.warn("Invalid sessionId at {}", dataConfig);
                    return;
                }
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top