Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 906 for sessions (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

            .build()
        val session = session(heldCertificate.certificatePem())
        assertThat(verifier.verify("foo.com", session)).isFalse()
        assertThat(verifier.verify("bar.com", session)).isFalse()
        assertThat(verifier.verify("k.com", session)).isTrue()
        assertThat(verifier.verify("K.com", session)).isTrue()
        assertThat(verifier.verify("\u2121.com", session)).isFalse()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            List<Toolchain> toolchains = toolchainManager.getToolchains(session, "rare", null);
    
            assertEquals(1, toolchains.size());
        }
    
        @Test
        void testModelsAndFactory() {
            MavenSession session = mock(MavenSession.class);
            Session sessionv4 = mock(Session.class);
            when(session.getSession()).thenReturn(sessionv4);
            when(sessionv4.getToolchains())
                    .thenReturn(List.of(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            byte[] key = new byte[] { 10, 20 };
            when(session.getSessionKey()).thenReturn(key, new byte[0], null);
    
            assertArrayEquals(key, session.getSessionKey());
            assertArrayEquals(new byte[0], session.getSessionKey());
            assertNull(session.getSessionKey());
            verify(session, times(3)).getSessionKey();
        }
    
        // Error propagation: getSessionKey throws CIFSException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                return null;
            });
        }
    
        private OptionalThing<HttpSession> getSession() {
            final HttpSession session = request.getSession(false);
            if (session != null) {
                return OptionalEntity.of(session);
            }
            return OptionalEntity.empty();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. 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.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. 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(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. 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;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                    @Nonnull Session session, @Nonnull String type) throws ToolchainManagerException {
                return getDelegate().getToolchainFromBuildContext(session, type);
            }
    
            @Override
            public void storeToolchainToBuildContext(
                    @Nonnull Session session, @Nonnull org.apache.maven.api.Toolchain toolchain) {
                getDelegate().storeToolchainToBuildContext(session, toolchain);
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat May 31 07:20:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. tests/prepared_stmt_test.go

    		tx.Session(&gorm.Session{PrepareStmt: true}).Create(&user)
    		return errors.New("test")
    	}); err == nil {
    		t.Error(err)
    	}
    
    	var result User
    	if err := DB.First(&result, user.ID).Error; err == nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    }
    
    func TestPreparedStmtClose(t *testing.T) {
    	tx := DB.Session(&gorm.Session{PrepareStmt: true})
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

        default ArtifactResolverResult resolve(Session session, Collection<? extends ArtifactCoordinates> coordinates) {
            return resolve(ArtifactResolverRequest.build(session, coordinates));
        }
    
        /**
         * Resolves several artifacts from their coordinates.
         *
         * @param session {@link Session}
         * @param repositories the list of remote repositories or {@code null} to use the session repositories
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top