Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 450 for Blocks (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      (
        readByte() and 0xff shl 16
          or (readByte() and 0xff shl 8)
          or (readByte() and 0xff)
      )
    
    /** Run [block] until it either throws an [IOException] or completes. */
    internal inline fun ignoreIoExceptions(block: () -> Unit) {
      try {
        block()
      } catch (_: IOException) {
      }
    }
    
    internal fun Buffer.skipAll(b: Byte): Int {
      var count = 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. cmd/handler-api.go

    			// ram_per_request is (1MiB+32KiB) * driveCount \
    			//    + 2 * 10MiB (default erasure block size v1) + 2 * 1MiB (default erasure block size v2)
    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV1*2+blockSizeV2*2)))
    		} else {
    			// ram_per_request is (1MiB+32KiB) * driveCount \
    			//    + 2 * 1MiB (default erasure block size v2)
    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV2*2)))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. docs/smb3-features/04-directory-leasing-design.md

            lock.readLock().lock();
            try {
                lastAccessTime = System.currentTimeMillis();
                return children.get(name);
            } finally {
                lock.readLock().unlock();
            }
        }
        
        public boolean hasChild(String name) {
            lock.readLock().lock();
            try {
                lastAccessTime = System.currentTimeMillis();
                return children.containsKey(name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. .golangci.yml

            - -ST1016
            - -U1000
      exclusions:
        generated: lax
        rules:
          - linters:
              - forcetypeassert
            path: _test\.go
          - path: (.+)\.go$
            text: 'empty-block:'
          - path: (.+)\.go$
            text: 'unused-parameter:'
          - path: (.+)\.go$
            text: 'dot-imports:'
          - path: (.+)\.go$
            text: should have a package comment
          - path: (.+)\.go$
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

    /*
     * Copyright (C) 2022 Block, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbPipeHandleTest.java

                // This test ensures that any implementation of SmbPipeHandle can be used in a try-with-resources block.
                try (SmbPipeHandle handle = smbPipeHandle) {
                    // Perform operations with the handle
                    assertNotNull(handle);
                }
                // Verify that close() was called on the handle when the block exits
                Mockito.verify(smbPipeHandle).close();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt

    /*
     * Copyright (c) 2022 Block, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 1K bytes
    - Viewed (0)
  8. okhttp/src/androidUnitTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.android.kt

    /*
     * Copyright (C) 2024 Block, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 08:21:20 UTC 2025
    - 974 bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        /**
         * Reads a byte of data from this input stream.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public int read() throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if (read(tmp, 0, 1) == -1) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/CryptoTest.java

        void testDES() throws Exception {
            // Given
            byte[] key = "testkey1".getBytes(); // 8 bytes for DES
            byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size)
    
            // When
            Cipher desCipher = Crypto.getDES(key);
            desCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES"));
            byte[] encrypted = desCipher.doFinal(plaintext);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top