Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 698 for CSession (0.11 seconds)

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

            assertFalse(java.util.Arrays.equals(salt1, salt2)); // Should be different
        }
    
        @Test
        @DisplayName("Test session initialization")
        public void testSessionInitialization() throws CIFSException {
            String sessionId = "test-session-1";
            byte[] salt = preauthService.generatePreauthSalt();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java

         * @throws IllegalArgumentException if {@code session} is null or invalid
         */
        @Nonnull
        default ArtifactCoordinates create(@Nonnull Session session, @Nonnull String coordinatesString) {
            return create(ArtifactCoordinatesFactoryRequest.build(session, coordinatesString));
        }
    
        @Nonnull
        default ArtifactCoordinates create(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 14:10:11 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/SmbSession.java

        /**
         * Unwraps this session to the specified type, allowing access to implementation-specific functionality.
         *
         * @param <T> the type to unwrap to
         * @param type the class of the type to unwrap to
         * @return session instance with the given type
         */
        <T extends SmbSession> T unwrap(Class<T> type);
    
        /**
         * Returns the CIFS context that this session is attached to.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

    public class DefaultProject implements Project {
    
        private final InternalMavenSession session;
        private final MavenProject project;
        private final Packaging packaging;
    
        public DefaultProject(InternalMavenSession session, MavenProject project) {
            this.session = session;
            this.project = project;
            ClassLoader ttcl = Thread.currentThread().getContextClassLoader();
            try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. tests/test_dependency_yield_scope_websockets.py

    NamedSessionsDep = Annotated[tuple[NamedSession, Session], Depends(get_named_session)]
    
    
    def get_named_func_session(session: SessionFuncDep) -> Any:
        named_session = NamedSession(name="named")
        yield named_session, session
        named_session.open = False
        global_state = global_context.get()
        global_state["named_func_session_closed"] = True
    
    
    def get_named_regular_func_session(session: SessionFuncDep) -> Any:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. docs_src/sql_databases/tutorial002_py310.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/", response_model=HeroPublic)
    def create_hero(hero: HeroCreate, session: Session = Depends(get_session)):
        db_hero = Hero.model_validate(hero)
        session.add(db_hero)
        session.commit()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

        }
    
        public void buildProject(
                MavenSession session, ReactorContext reactorContext, MavenProject currentProject, TaskSegment taskSegment) {
            buildProject(session, session, reactorContext, currentProject, taskSegment);
        }
    
        public void buildProject(
                MavenSession session,
                MavenSession rootSession,
                ReactorContext reactorContext,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

        }
    
        @Nonnull
        default DependencyResolverResult resolve(@Nonnull Session session, @Nonnull Project project) {
            return resolve(
                    DependencyResolverRequest.build(session, DependencyResolverRequest.RequestType.RESOLVE, project));
        }
    
        @Nonnull
        default DependencyResolverResult resolve(
                @Nonnull Session session, @Nonnull Project project, @Nonnull PathScope scope) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 16 14:15:37 GMT 2024
    - 9.4K bytes
    - Click Count (0)
  9. tests/test_dependency_yield_scope.py

    SessionDefaultDep = Annotated[Session, Depends(dep_session)]
    
    
    class NamedSession:
        def __init__(self, name: str = "default") -> None:
            self.name = name
            self.open = True
    
    
    def get_named_session(session: SessionRequestDep, session_b: SessionDefaultDep) -> Any:
        assert session is session_b
        named_session = NamedSession(name="named")
        yield named_session, session_b
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

     *
     * @author mbechler
     *
     */
    public class Smb2SessionSetupResponse extends ServerMessageBlock2Response {
    
        /**
         * Session flag indicating this is a guest session
         */
        public static final int SMB2_SESSION_FLAGS_IS_GUEST = 0x1;
    
        /**
         * Session flag indicating this is a null/anonymous session
         */
        public static final int SMB2_SESSION_FLAGS_IS_NULL = 0x2;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (1)
Back to Top