Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 812 for csession (1.09 sec)

  1. src/test/java/jcifs/SmbSessionTest.java

                SmbSession mockSession = mock(SmbSession.class);
    
                assertDoesNotThrow(() -> {
                    try (SmbSession session = mockSession) {
                        // Resource usage simulation
                        session.getConfig();
                    }
                }, "SmbSession should work with try-with-resources");
    
                verify(mockSession, times(1)).close();
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

        /**
         * Checks if SMB message signing is active for this session
         * @return whether the session uses SMB signing
         * @throws CIFSException if a general CIFS error occurs
         * @throws SmbException if an SMB-specific error occurs
         */
        boolean areSignaturesActive() throws CIFSException;
    
        /**
         * Internal/testing use only
         *
         * @return attached session
         */
        SmbSession getSession();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ProjectBuildListTest.java

    /**
     */
    class ProjectBuildListTest {
        @Test
        void testGetByTaskSegment() throws Exception {
            final MavenSession session = ProjectDependencyGraphStub.getMavenSession();
            ProjectBuildList projectBuildList = ProjectDependencyGraphStub.getProjectBuildList(session);
            TaskSegment taskSegment = projectBuildList.get(0).getTaskSegment();
            assertTrue(
                    projectBuildList.size() >= 6,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. tests/test_dependency_after_yield_raise.py

    
    class CustomError(Exception):
        pass
    
    
    def catching_dep() -> Any:
        try:
            yield "s"
        except CustomError as err:
            raise HTTPException(status_code=418, detail="Session error") from err
    
    
    def broken_dep() -> Any:
        yield "s"
        raise ValueError("Broken after yield")
    
    
    app = FastAPI()
    
    
    @app.get("/catching")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

                    permissions = permissionSet.toArray(new String[permissionSet.size()]);
                }
                return permissions;
            }
    
            /**
             * Gets the session index.
             * @return The session index.
             */
            public String getSessionIndex() {
                return sessionIndex;
            }
    
            /**
             * Gets the name ID format.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/MavenTestHelper.java

            MavenSession mavenSession = new MavenSession(repoSession, request, new DefaultMavenExecutionResult());
            DefaultSession session =
                    new DefaultSession(mavenSession, null, null, repositorySystem, new DefaultLookup(container), null);
            InternalSession.associate(repoSession, session);
            return repoSession;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. docs/sts/assume-role.go

    	if sessionPolicyFile != "" {
    		var policy string
    		if f, err := os.Open(sessionPolicyFile); err != nil {
    			log.Fatalf("Unable to open session policy file: %v", err)
    		} else {
    			defer f.Close()
    			bs, err := io.ReadAll(f)
    			if err != nil {
    				log.Fatalf("Error reading session policy file: %v", err)
    			}
    			policy = string(bs)
    		}
    		stsOpts.Policy = policy
    	}
    	if expiryDuration != 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (1)
  8. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/BuildListCalculatorTest.java

            BuildListCalculator buildListCalculator = new BuildListCalculator();
            final MavenSession session = ProjectDependencyGraphStub.getMavenSession();
            List<TaskSegment> taskSegments = lifecycleTaskSegmentCalculator.calculateTaskSegments(session);
            final ProjectBuildList buildList = buildListCalculator.calculateProjectBuilds(session, taskSegments);
            final ProjectBuildList segments = buildList.getByTaskSegment(taskSegments.get(0));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbException;
    
    /**
     * SMB1 Session Setup AndX request message.
     *
     * This command is used to authenticate a user session and
     * establish security context for subsequent operations.
     */
    public class SmbComSessionSetupAndX extends AndXServerMessageBlock {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultTransformerManager.java

        public InstallRequest remapInstallArtifacts(RepositorySystemSession session, InstallRequest request) {
            for (PomArtifactTransformer transformer : transformers.values()) {
                request = transformer.remapInstallArtifacts(session, request);
            }
            return request;
        }
    
        @Override
        public DeployRequest remapDeployArtifacts(RepositorySystemSession session, DeployRequest request) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top