Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,084 for constants (0.04 sec)

  1. guava/src/com/google/common/io/CharStreams.java

        }
        return total;
      }
    
      // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able
      // to reuse buffers, others would be able to size them more appropriately than the constant
      // defaults
    
      /**
       * Copies all characters between the {@link Reader} and {@link StringBuilder} objects. Does not
       * close or flush the reader.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

      long[] xLongs;
      long[] yLongs;
    
      int[] constant;
    
      private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL;
    
      @BeforeExperiment
      void setUp() {
        Random random = new Random(randomSeed);
        xInts = new int[SAMPLE_SIZE];
        yInts = new int[SAMPLE_SIZE];
        xLongs = new long[SAMPLE_SIZE];
        yLongs = new long[SAMPLE_SIZE];
        constant = new int[SAMPLE_SIZE];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            assertEquals(0x0, AvPair.MsvAvEOL, "MsvAvEOL constant should be 0x0.");
            assertEquals(0x6, AvPair.MsvAvFlags, "MsvAvFlags constant should be 0x6.");
            assertEquals(0x7, AvPair.MsvAvTimestamp, "MsvAvTimestamp constant should be 0x7.");
            assertEquals(0x08, AvPair.MsvAvSingleHost, "MsvAvSingleHost constant should be 0x08.");
            assertEquals(0x09, AvPair.MsvAvTargetName, "MsvAvTargetName constant should be 0x09.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java

         */
        @Test
        void testNoNullRefConstant() {
            assertNotNull(NdrException.NO_NULL_REF, "NO_NULL_REF constant should not be null.");
            assertEquals("ref pointer cannot be null", NdrException.NO_NULL_REF, "NO_NULL_REF constant should have the expected value.");
        }
    
        /**
         * Test the INVALID_CONFORMANCE static field.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbPipeResourceTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbPipeResource interface.
     * This test class primarily verifies the constant values defined in the interface.
     */
    class SmbPipeResourceTest {
    
        /**
         * Test if the PIPE_TYPE_RDONLY constant has the correct value.
         */
        @Test
        void testPipeTypeRdonly() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/TestingWeighers.java

      }
    
      static final class ConstantWeigher implements Weigher<Object, Object> {
        private final int constant;
    
        ConstantWeigher(int constant) {
          this.constant = constant;
        }
    
        @Override
        public int weigh(Object key, Object value) {
          return constant;
        }
      }
    
      static final class IntKeyWeigher implements Weigher<Integer, Object> {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/SearchLogPager.java

        /** Log type constant for zero-click search aggregation. */
        public static final String LOG_TYPE_SEARCH_ZEROCLICK = "search_zeroclick_agg";
    
        /** Log type constant for click logs. */
        public static final String LOG_TYPE_CLICK = "click";
    
        /** Log type constant for click count aggregation. */
        public static final String LOG_TYPE_CLICK_COUNT = "click_count_agg";
    
        /** Log type constant for favorite logs. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Then - response is created even with null config
            assertNotNull(response);
        }
    
        @Test
        @DisplayName("Should verify SMB2 header length constant usage")
        void testSmb2HeaderLengthUsage() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PacMac.java

            cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(keybytes, "AES"), new IvParameterSpec(ZERO_IV, 0, ZERO_IV.length));
            if (constant.length != cipher.getBlockSize()) {
                constant = expandNFold(constant, cipher.getBlockSize());
            }
            byte[] enc = constant;
            int klen = keybytes.length;
            byte[] dk = new byte[klen];
            for (int n = 0; n < klen;) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top