Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 132 for allocations (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

         *
         * @throws IOException if `protocol` is unknown.
         */
        @JvmStatic
        @Throws(IOException::class)
        fun get(protocol: String): Protocol {
          // Unroll the loop over values() to save an allocation.
          @Suppress("DEPRECATION")
          return when (protocol) {
            HTTP_1_0.protocol -> HTTP_1_0
            HTTP_1_1.protocol -> HTTP_1_1
            H2_PRIOR_KNOWLEDGE.protocol -> H2_PRIOR_KNOWLEDGE
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/ResourceManager.java

            if (log.isDebugEnabled() && holder.allocationStackTrace != null) {
                StringBuilder sb = new StringBuilder("Allocation stack trace:\n");
                for (StackTraceElement element : holder.allocationStackTrace) {
                    sb.append("\tat ").append(element).append("\n");
                }
                log.debug(sb.toString());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/BloomFilterStrategies.java

            LockFreeBitArray lockFreeBitArray = (LockFreeBitArray) o;
            // TODO(lowasser): avoid allocation here
            return Arrays.equals(toPlainArray(data), toPlainArray(lockFreeBitArray.data));
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          // TODO(lowasser): avoid allocation here
          return Arrays.hashCode(toPlainArray(data));
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jan 08 14:27:16 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Represents the FILE_STANDARD_INFORMATION structure used in SMB2/3 file system control code (FSCC) operations.
     * This structure provides standard file information including allocation size, end-of-file position,
     * number of links, deletion status, and directory flag.
     */
    public class FileStandardInfo implements BasicFileInformation {
    
        private long allocationSize;
        private long endOfFile;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

      /** Used for concurrent threads reading the list for the first time. */
      private val readCompleteLatch = CountDownLatch(1)
    
      // The lists are held as a large array of UTF-8 bytes. This is to avoid allocating lots of strings
      // that will likely never be used. Each rule is separated by '\n'. Please see the
      // PublicSuffixListGenerator class for how these lists are generated.
      // Guarded by this.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      public void testLocationsFrom_idempotentScan() throws IOException {
        ImmutableSet<ClassPath.LocationInfo> locations =
            ClassPath.locationsFrom(getClass().getClassLoader());
        assertThat(locations).isNotEmpty();
        for (ClassPath.LocationInfo location : locations) {
          ImmutableSet<ResourceInfo> resources = location.scanResources();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        return new Itr<Entry<E>>() {
          @Override
          Entry<E> result(int entryIndex) {
            return backingMap.getEntry(entryIndex);
          }
        };
      }
    
      /** Allocation-free implementation of {@code target.addAll(this)}. */
      void addTo(Multiset<? super E> target) {
        checkNotNull(target);
        for (int i = backingMap.firstIndex(); i >= 0; i = backingMap.nextIndex(i)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Change Time (8 bytes)
                long changeTime = creationTime + 3000000L;
                SMBUtil.writeInt8(changeTime, buffer, bufferIndex + 32);
                // Allocation Size (8 bytes)
                SMBUtil.writeInt8(4096, buffer, bufferIndex + 40);
                // End of File (8 bytes)
                SMBUtil.writeInt8(1024, buffer, bufferIndex + 48);
                // File Attributes (4 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            when(response.getHeaderStart()).thenReturn(0);
    
            // Write FileFsSizeInformation data (24 bytes)
            SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units
            SMBUtil.writeInt8(500000, buffer, 28); // Available allocation units
            SMBUtil.writeInt4(512, buffer, 36); // Sectors per unit
            SMBUtil.writeInt4(4096, buffer, 40); // Bytes per sector
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            assertTrue(result.contains("sectPerAlloc=" + sectPerAlloc));
            assertTrue(result.contains("bytesPerSect=" + bytesPerSect));
        }
    
        @Test
        @DisplayName("Test decode with single sector per allocation")
        void testDecodeWithSingleSectorPerAllocation() throws SMBProtocolDecodingException {
            // Prepare test data with sectPerAlloc = 1
            byte[] buffer = new byte[22];
            int idFileSystem = 0x11111111;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top