Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 770 for stiate (4.66 sec)

  1. Jenkinsfile

    #!groovy
    
    pipeline {
      agent none
      // save some io during the build
      options {
        skipDefaultCheckout()
        durabilityHint('PERFORMANCE_OPTIMIZED')
        disableRestartFromStage()
      }
      stages {
        stage("Build / Test - JDK17") {
          agent { node { label 'ubuntu' } }
          steps {
            timeout(time: 210, unit: 'MINUTES') {
              checkout scm
              mavenBuild("jdk_17_latest", "")
              script {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 10 12:31:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

    import org.opentest4j.TestAbortedException
    
    /**
     * Marks a test as Platform aware, before the test runs a consistent Platform will be
     * established e.g. SecurityProvider for Conscrypt installed.
     *
     * Also allows a test file to state general platform assumptions, or for individual test.
     */
    @Suppress("unused", "MemberVisibilityCanBePrivate")
    open class PlatformRule
      @JvmOverloads
      constructor(
        val requiredPlatformName: String? = null,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  3. src/test/java/jcifs/smb/SmbSessionImplTest.java

                f.setAccessible(true);
                f.set(target, value);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("getters and basic state (happy path)")
        void testGettersAndState() {
            SmbSessionImpl session = newSession();
    
            // Basic getters
            assertSame(configuration, session.getConfig(), "getConfig delegates to transportContext");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            verify(mockConnection).connect();
            // Connection should be established after connect
        }
    
        /**
         * Test that disconnect() calls disconnect() on the underlying connection and resets state.
         */
        @Test
        void testDisconnect() throws Exception {
            // Act
            ntlmConnection.disconnect();
    
            // Assert
            verify(mockConnection).disconnect();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

            .build()
        assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
        assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected)
      }
    
      @Test fun setDate() {
        val expected = Date(1000)
        val headers =
          Headers
            .Builder()
            .add("testDate", Date(0L))
            .set("testDate", expected)
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. cmd/tier_gen.go

    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *TierConfigMgr) Msgsize() (s int) {
    	s = 1 + 6 + msgp.MapHeaderSize
    	if z.Tiers != nil {
    		for za0001, za0002 := range z.Tiers {
    			_ = za0002
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/PreauthIntegrityService.java

        // Security configuration
        private final SecureRandom secureRandom;
        private final int selectedHashAlgorithm;
        private final boolean enforceIntegrity;
    
        /**
         * Context for maintaining preauth integrity state per session.
         */
        public static class PreauthIntegrityContext {
            private final byte[] salt;
            private final int hashAlgorithm;
            private volatile byte[] currentHash;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmServletTest.java

         */
        @Test
        void testInit() throws ServletException {
            assertDoesNotThrow(() -> ntlmServlet.init(servletConfig));
            // Further assertions can be added here to check the internal state of the servlet if fields were protected/public
        }
    
        /**
         * Test the init method when CIFSException occurs.
         * Verifies that configuration properties are properly validated during initialization.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            target.ensureOpen();
            target.close();
            verify(fileHandle, times(1)).close();
            verify(fileHandle, never()).release();
            verify(tree, atLeastOnce()).release();
    
            // Re-prepare state for second branch: not open but handle set
            when(fileHandle.isValid()).thenReturn(false);
            // Need to reopen logic to set handle again
            // Reset open flag by reconstructing target
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/PreauthIntegrityTest.java

         * Test that pre-auth hash is reset on error
         */
        @Test
        @DisplayName("Pre-auth integrity hash should reset on error")
        void testPreauthHashResetOnError() throws Exception {
            // Setup invalid SMB2 state to trigger error
            setPrivateField(transport, "smb2", false);
    
            // Try to update preauth hash - should fail and reset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top