Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 4,188 for long (0.1 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        void testGetOffsetConsistency() {
            byte[] buffer = new byte[] { 0x42, 0x00, 0x00, 0x00 }; // 66
            response.readParameterWordsWireFormat(buffer, 0);
    
            long firstCall = response.getOffset();
            long secondCall = response.getOffset();
            long thirdCall = response.getOffset();
    
            assertEquals(66L, firstCall, "First call should return 66");
            assertEquals(66L, secondCall, "Second call should return 66");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedInts.java

        return Ints.compare(flip(a), flip(b));
      }
    
      /**
       * Returns the value of the given {@code int} as a {@code long}, when treated as unsigned.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#toUnsignedLong(int)} instead.
       */
      public static long toLong(int value) {
        return value & INT_MASK;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/PropertyConfiguration.java

                    this.witnessHeartbeatTimeout = Long.parseLong(value);
                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
            }
    
            value = props.getProperty("jcifs.smb.client.witnessRegistrationTimeout");
            if (value != null) {
                try {
                    this.witnessRegistrationTimeout = Long.parseLong(value);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/MultiReader.java

        if (result == -1) {
          advance();
          return read(cbuf, off, len);
        }
        return result;
      }
    
      @Override
      public long skip(long n) throws IOException {
        Preconditions.checkArgument(n >= 0, "n is negative");
        if (n > 0) {
          while (current != null) {
            long result = current.skip(n);
            if (result > 0) {
              return result;
            }
            advance();
          }
        }
        return 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/StatsTesting.java

      static final double LONG_MANY_VALUES_MIN = -44444444.0;
    
      // Longs which will overflow if summed (using long arithmetic):
      static final long[] LARGE_LONG_VALUES = {Long.MAX_VALUE, Long.MAX_VALUE / 2};
      static final double LARGE_LONG_VALUES_MEAN =
          BigInteger.valueOf(Long.MAX_VALUE)
              .multiply(BigInteger.valueOf(3L))
              .divide(BigInteger.valueOf(4L))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        // need a long enough string for the buffer to hit 0 remaining before the copy completes
        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
        // the main assertion of this test is here... the copy will fail if the buffer size goes down
        // each time it is not filled completely
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharStreamsTest.java

        // need a long enough string for the buffer to hit 0 remaining before the copy completes
        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
        // the main assertion of this test is here... the copy will fail if the buffer size goes down
        // each time it is not filled completely
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/ndr/NdrHyper.java

     */
    public class NdrHyper extends NdrObject {
    
        /**
         * The hyper integer value.
         */
        public long value;
    
        /**
         * Constructs an NdrHyper with the specified value.
         *
         * @param value the hyper integer value
         */
        public NdrHyper(final long value) {
            this.value = value;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         *
         * @param days the number of days from now when the item should expire
         * @return the expiration time in milliseconds since epoch
         */
        protected long getExpiredTime(final int days) {
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            return now + days * Constants.ONE_DAY_IN_MILLIS;
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/exentity/Group.java

    /**
     * @author FreeGen
     */
    public class Group extends BsGroup {
    
        private static final long serialVersionUID = 1L;
    
        private Map<String, String> attributes;
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
        public String getId() {
            return asDocMeta().id();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top