Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 2,029 for sizeOf (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertNotNull(lock);
            }
        }
    
        @Nested
        @DisplayName("Size Tests")
        class SizeTests {
    
            @Test
            @DisplayName("Should return constant size of 24 bytes")
            void testSize() {
                lock = new Smb2Lock(100L, 200L, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK);
    
                assertEquals(24, lock.size());
            }
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            }
            if (offset + length > data.length) {
                throw new IllegalArgumentException("Offset + length exceeds data buffer size");
            }
            if (offset + SIGNATURE_OFFSET + SIGNATURE_LENGTH > data.length) {
                throw new IllegalArgumentException("Signature field exceeds data buffer size");
            }
    
            // Use fine-grained locking for better concurrency
            this.signingLock.lock();
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

            String::class.java == returnType &&
            callArgs.size == 1 &&
            callArgs[0] is List<*>
          ) {
            val peerProtocols = callArgs[0] as List<*>
            // Pick the first known protocol the peer advertises.
            for (i in 0..peerProtocols.size) {
              val protocol = peerProtocols[i] as String
              if (protocol in protocols) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testAsMapRemove() {
        assertContentsInOrder(multimap().asMap().remove(k0()), v0());
        assertGet(k0());
        assertEquals(getNumElements() - 1, multimap().size());
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_PUT)
      public void testAsMapEntrySetReflectsPutSameKey() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v3()));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MoreCollectors.java

              extras = new ArrayList<>();
            }
            extras.add(other.element);
            extras.addAll(other.extras);
            if (extras.size() > MAX_EXTRAS) {
              extras.subList(MAX_EXTRAS, extras.size()).clear();
              throw multiples(true);
            }
            return this;
          }
        }
    
        Optional<Object> getOptional() {
          if (extras.isEmpty()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

    import jcifs.internal.AllocInfo;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Represents the FILE_FS_SIZE_INFORMATION structure used to query file system size information.
     * This structure provides details about the total allocation units, free allocation units,
     * sectors per allocation unit, and bytes per sector for a file system volume.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertEquals(i18nHash, Files.hash(i18nFile, Hashing.md5()).toString());
      }
    
      public void testMap() throws IOException {
        // Test data
        int size = 1024;
        byte[] bytes = newPreFilledByteArray(size);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        // Test
        MappedByteBuffer actual = Files.map(file);
    
        // Verify
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            final int qSize = queue.size();
            int endOffset = startOffset + 1;
            int posInc = 1;
            for (int len = 1; len < n && endOffset <= limitOffset; len++) {
                queue.add(new MyToken(block.substring(startOffset, endOffset), startOffset, endOffset, posInc));
                endOffset++;
                posInc = 0;
            }
            return queue.size() > qSize;
        }
    
        @Override
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

            this.indexNumber = SMBUtil.readInt8(buffer, bufferIndex);
            return 8;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size() {
            return 8;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

        }
    
        /**
         * Gets the preload size for charset detection.
         *
         * @return the preload size in bytes
         */
        public int getPreloadSizeForCharset() {
            return preloadSizeForCharset;
        }
    
        /**
         * Sets the preload size for charset detection.
         *
         * @param preloadSizeForCharset the preload size in bytes to set
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top