Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 562 for Block (0.52 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        return DerHeader(tagClass, tag, constructed, length)
      }
    
      /**
       * Consume a header and execute [block], which should consume the entire value described by the
       * header. It is an error to not consume a full value in [block].
       */
      internal inline fun <T> read(
        name: String?,
        block: (DerHeader) -> T,
      ): T {
        if (!hasNext()) throw ProtocolException("expected a value")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

          assertEquals("jpeg", mediaType.subtype)
        }
      }
    
      private fun <T> withLocale(
        locale: Locale,
        block: () -> T,
      ): T {
        val previous = Locale.getDefault()
        try {
          Locale.setDefault(locale)
          return block()
        } finally {
          Locale.setDefault(previous)
        }
      }
    
      @Test fun testIllegalCharsetName() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            assertFalse(rateLimiter.checkAttempt("user21", "192.168.1.21"), "Should block after global rate limit");
        }
    
        @Test
        public void testLockoutExpiry() throws Exception {
            String username = "expireuser";
            String ip = "192.168.1.4";
    
            // Lock out the account
            for (int i = 0; i < 3; i++) {
                assertTrue(rateLimiter.checkAttempt(username, ip));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/ne.css

    a {
        display: block;
        float: left;
        width: 300px;
        height: 50px;
        padding: 2px;
        font-family: Verdana, sans-serif;
        font-size: 10pt;
        color: #000000;
        text-decoration: none
    }
    a.plain {
        display: inline;
        float: none;
        width: auto;
        height: auto
    }
    a.sort {
        display: block;
        float: left;
        width: 100px;
        height: 15px;
        font-family: Verdana, sans-serif;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

         * val interceptor = Interceptor { chain: Interceptor.Chain ->
         *     chain.proceed(chain.request())
         * }
         * ```
         */
        inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) }
      }
    
      interface Chain {
        fun request(): Request
    
        @Throws(IOException::class)
        fun proceed(request: Request): Response
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

        /**
         * Returns the target information block.
         *
         * @return A <code>byte[]</code> containing the target information block.
         * The target information block is used by the client to create an
         * NTLMv2 response.
         */
        public byte[] getTargetInformation() {
            return targetInformation;
        }
    
        /**
         * Sets the target information block.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. cmd/object-api-common.go

    	"github.com/dustin/go-humanize"
    )
    
    const (
    	// Block size used for all internal operations version 1.
    
    	// TLDR..
    	// Not used anymore xl.meta captures the right blockSize
    	// so blockSizeV2 should be used for all future purposes.
    	// this value is kept here to calculate the max API
    	// requests based on RAM size for existing content.
    	blockSizeV1 = 10 * humanize.MiByte
    
    	// Block size used in erasure coding version 2.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/AuthenticationRateLimiter.java

                        return false;
                    } else {
                        // Block expired, reset
                        ip.reset();
                    }
                }
    
                // Check IP rate limit
                if (ip.getRecentAttempts() >= maxAttemptsPerIp) {
                    ip.block(lockoutDuration);
                    totalAttemptsBlocked.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. cmd/grid.go

    var globalGrid atomic.Pointer[grid.Manager]
    
    // globalLockGrid is the global lock grid manager.
    var globalLockGrid atomic.Pointer[grid.Manager]
    
    // globalGridStart is a channel that will block startup of grid connections until closed.
    var globalGridStart = make(chan struct{})
    
    // globalLockGridStart is a channel that will block startup of lock grid connections until closed.
    var globalLockGridStart = make(chan struct{})
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. docs/en/docs/js/custom.js

    function setupTermynal() {
        document.querySelectorAll(".use-termynal").forEach(node => {
            node.style.display = "block";
            new Termynal(node, {
                lineDelay: 500
            });
        });
        const progressLiteralStart = "---> 100%";
        const promptLiteralStart = "$ ";
        const customPromptLiteralStart = "# ";
        const termynalActivateClass = "termy";
        let termynals = [];
    
        function createTermynals() {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 02 20:44:50 UTC 2025
    - 5.4K bytes
    - Viewed (2)
Back to top