Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 6,329 for Session (0.04 seconds)

  1. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Simulate session already in use by adding a session
            Field sessionsField = SmbTransportImpl.class.getDeclaredField("sessions");
            sessionsField.setAccessible(true);
            @SuppressWarnings("unchecked")
            List<Object> sessions = (List<Object>) sessionsField.get(first);
            sessions.add(new Object()); // Add one session to reach the limit
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java

            session.withLocalRepositories(new LocalRepository(new File("target/local-repo"), "simple"));
            session.setTransferListener(new ConsoleTransferListener());
            session.setRepositoryListener(new ConsoleRepositoryListener());
    
            return session.build();
        }
    
        public static RemoteRepository newTestRepository() throws MalformedURLException {
            return new RemoteRepository.Builder(
                            "repo",
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * synchronization of the project's artifact state.
         *
         * @param session the current build session
         * @param project the project to attach the artifact to
         * @param path the path to the artifact file
         */
        default void attachArtifact(@Nonnull Session session, @Nonnull Project project, @Nonnull Path path) {
            String name = path.getFileName().toString();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
            // transport should still be null until first use
            assertNull(session.transport, "transport not created yet");
            SmbTransport tr = session.transport();
            assertNotNull(tr, "transport should now exist");
            // subsequent calls return the same instance
            assertSame(tr, session.transport());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/InternalMavenSession.java

        }
    
        static InternalMavenSession from(org.eclipse.aether.RepositorySystemSession session) {
            return cast(InternalMavenSession.class, session.getData().get(InternalSession.class), "session");
        }
    
        List<Project> getProjects(List<org.apache.maven.project.MavenProject> projects);
    
        /**
         * May return null if the input project is null or is not part of the reactor.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 14:09:05 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. docs_src/websockets_/tutorial002_an_py310.py

        return HTMLResponse(html)
    
    
    async def get_cookie_or_token(
        websocket: WebSocket,
        session: Annotated[str | None, Cookie()] = None,
        token: Annotated[str | None, Query()] = 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(
        *,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 12:34:37 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java

         *
         * @param session the Maven session, must not be {@code null}
         * @param type the type, must not be {@code null}
         * @param requirements the requirements, may be {@code null}
         * @return the matching toolchains, never {@code null}
         * @since 3.3.0
         */
        List<Toolchain> getToolchains(MavenSession session, String type, Map<String, String> requirements);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        /**
         * Sends a command to the process associated with the given session ID.
         * Uses finer-grained locking to avoid blocking other operations during I/O.
         *
         * @param sessionId unique identifier for the process session
         * @param command the command to send to the process
         * @throws JobNotFoundException if no process is found for the given session ID
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                @Nonnull MavenSession session,
                @Nonnull RepositorySystem repositorySystem,
                @Nullable List<RemoteRepository> remoteRepositories,
                @Nonnull MavenRepositorySystem mavenRepositorySystem,
                @Nonnull Lookup lookup,
                @Nonnull RuntimeInformation runtimeInformation) {
            super(
                    requireNonNull(session).getRepositorySession(),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        public Map<String, Object> lookupMap(String role) throws ComponentLookupException {
            return container.lookupMap(role);
        }
    
        public Session getSession() {
            return session;
        }
    
        public void setSession(Session session) {
            this.session = session;
        }
        /*end[MAVEN4]*/
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
Back to Top