Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 367 for Extra (0.15 sec)

  1. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

    import com.google.caliper.Param;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks against the Apache Commons Math utilities.
     *
     * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ApacheBenchmark {
      private enum Impl {
        GUAVA {
          @Override
          public double factorialDouble(int n) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/BufferCacheImplTest.java

            assertEquals(4, impl.getBuffer().length);
        }
    
        // Capacity behavior: when full, additional releases are dropped; only cached buffers are returned
        @Test
        @DisplayName("Cache capacity respected: extra releases dropped; retrieval order by first free slot")
        void cacheCapacityAndRetrievalOrder() {
            BufferCacheImpl impl = new BufferCacheImpl(2, 3);
            byte[] a = new byte[1];
            byte[] c = new byte[2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

             * techinque that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
             */
            Config.setProperty("jcifs.smb1.smb.lmCompatibility", "0");
            Config.setProperty("jcifs.smb1.smb.client.useExtendedSecurity", "false");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            byte[] fileNameBytes = fileName.getBytes(StandardCharsets.UTF_16LE);
            int totalSize = 12 + fileNameBytes.length + 50; // Extra space for safety
            byte[] buffer = new byte[totalSize];
    
            // Write next entry offset (4 bytes)
            SMBUtil.writeInt4(nextOffset, buffer, 0);
    
            // Write action (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SecurityBlobTest.java

            SecurityBlob longer = new SecurityBlob(new byte[] { 1, 2, 9 });
    
            // Act & Assert
            // Due to implementation, iteration uses this.b.length and ignores extra bytes in argument
            assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)");
    
            // In the opposite direction, an out-of-bounds occurs internally and is caught as false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertTrue(secondBufferFormatIndex > 0, "Second buffer format byte not found");
            assertEquals((byte) 0x04, dst[secondBufferFormatIndex]);
            assertEquals((byte) 0x00, dst[secondBufferFormatIndex + 1]); // Extra null byte for Unicode alignment
        }
    
        /**
         * Test writeBytesWireFormat with empty file names
         */
        @Test
        @DisplayName("Test writeBytesWireFormat with empty file names")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            verify(signingDigest, times(1)).verify(testData, offset, length, extraPad, message);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 8, 16 })
        @DisplayName("Test verify method with different extra padding values")
        void testVerifyWithDifferentExtraPadding(int extraPad) {
            // Arrange
            int offset = 0;
            int length = testData.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

        }
      }
    
      /**
       * An {@code Entry} implementation that attempts to follow its key around the map -- that is, if
       * the key is moved, deleted, or reinserted, it will account for that -- while not doing any extra
       * work if the key has not moved. One quirk: The {@link #getValue()} method can return {@code
       * null} even for a map which supposedly does not contain null elements, if the key is not present
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

                newValue = newValue.replace(element, replacement);
            }
            return newValue;
        }
    
        /**
         * Builds the complete query string from the configured parameters.
         * Combines base query, extra queries, field filters, and sort field into a single query string.
         *
         * @return the complete formatted query string
         */
        public String build() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/body-updates.md

    ///
    
    /// note | 備考
    
    入力モデルがまだ検証されていることに注目してください。
    
    そのため、すべての属性を省略できる部分的な変更を受け取りたい場合は、すべての属性をオプションとしてマークしたモデルを用意する必要があります(デフォルト値または`None`を使用して)。
    
    **更新** のためのオプション値がすべて設定されているモデルと、**作成** のための必須値が設定されているモデルを区別するには、[追加モデル](extra-models.md){.internal-link target=_blank}で説明されている考え方を利用することができます。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top