Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 620 for session1 (0.04 sec)

  1. 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)
  2. 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)
  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.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Configuration.java

         * @return whether multi-channel is enabled
         */
        boolean isUseMultiChannel();
    
        /**
         * Maximum number of channels per session
         *
         * Property {@code jcifs.smb.client.maxChannels} (int, default 4)
         *
         * @return maximum channels per session
         */
        int getMaxChannels();
    
        /**
         * Channel binding policy
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. tensorflow/c/c_api.h

    // during or after this call (and the session drops its reference to the
    // corresponding graph).
    TF_CAPI_EXPORT extern void TF_DeleteSession(TF_Session*, TF_Status* status);
    
    // Run the graph associated with the session starting with the supplied inputs
    // (inputs[0,ninputs-1] with corresponding values in input_values[0,ninputs-1]).
    //
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K 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