Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for getLong (0.09 sec)

  1. guava/src/com/google/common/hash/LittleEndianByteArray.java

      static {
        LittleEndianBytes theGetter = JavaLittleEndianBytes.INSTANCE;
        try {
          /*
           * UnsafeByteArray uses Unsafe.getLong() in an unsupported way, which is known to cause
           * crashes on Android when running in 32-bit mode. For maximum safety, we shouldn't use
           * Unsafe.getLong() at all, but the performance benefit on x86_64 is too great to ignore, so
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

          super(CHUNK_SIZE);
          this.h1 = seed;
          this.h2 = seed;
          this.length = 0;
        }
    
        @Override
        protected void process(ByteBuffer bb) {
          long k1 = bb.getLong();
          long k2 = bb.getLong();
          bmix64(k1, k2);
          length += CHUNK_SIZE;
        }
    
        private void bmix64(long k1, long k2) {
          h1 ^= mixK1(k1);
    
          h1 = Long.rotateLeft(h1, 27);
          h1 += h2;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/PropertyConfiguration.java

            this.vcNumber = 1;
    
            this.dfsDisabled = Config.getBoolean(p, "jcifs.smb.client.dfs.disabled", false);
            this.dfsTTL = Config.getLong(p, "jcifs.smb.client.dfs.ttl", 300);
            this.dfsStrictView = Config.getBoolean(p, "jcifs.smb.client.dfs.strictView", false);
            this.dfsConvertToFqdn = Config.getBoolean(p, "jcifs.smb.client.dfs.convertToFQDN", false);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/SipHashFunction.java

          this.v0 ^= k0;
          this.v1 ^= k1;
          this.v2 ^= k0;
          this.v3 ^= k1;
        }
    
        @Override
        protected void process(ByteBuffer buffer) {
          b += CHUNK_SIZE;
          processM(buffer.getLong());
        }
    
        @Override
        protected void processRemaining(ByteBuffer buffer) {
          b += buffer.remaining();
          for (int i = 0; buffer.hasRemaining(); i += 8) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/SipHashFunction.java

          this.v0 ^= k0;
          this.v1 ^= k1;
          this.v2 ^= k0;
          this.v3 ^= k1;
        }
    
        @Override
        protected void process(ByteBuffer buffer) {
          b += CHUNK_SIZE;
          processM(buffer.getLong());
        }
    
        @Override
        protected void processRemaining(ByteBuffer buffer) {
          b += buffer.remaining();
          for (int i = 0; buffer.hasRemaining(); i += 8) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Config.java

        /**
         * Retrieve a <code>long</code>. If the key does not exist or
         * cannot be converted to a <code>long</code>, the provided default
         * argument will be returned.
         */
        public static long getLong ( Properties props, String key, long def ) {
            String s = props.getProperty(key);
            if ( s != null ) {
                try {
                    def = Long.parseLong(s);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Dfs.java

            }
        }
    
        static LogStream log = LogStream.getInstance();
        static final boolean strictView = Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false);
        static final long TTL = Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300);
        static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false);
    
        protected static CacheEntry FALSE_ENTRY = new Dfs.CacheEntry(0L);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/Config.java

        /**
         * Retrieve a <code>long</code>. If the key does not exist or
         * cannot be converted to a <code>long</code>, the provided default
         * argument will be returned.
         */
    
        public static long getLong( String key, long def ) {
            String s = prp.getProperty( key );
            if( s != null ) {
                try {
                    def = Long.parseLong( s );
                } catch( NumberFormatException nfe ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/Stats.java

        checkArgument(
            buffer.remaining() >= BYTES,
            "Expected at least Stats.BYTES = %s remaining , got %s",
            BYTES,
            buffer.remaining());
        return new Stats(
            buffer.getLong(),
            buffer.getDouble(),
            buffer.getDouble(),
            buffer.getDouble(),
            buffer.getDouble());
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      /**
       * The number of milliseconds that tests are permitted for execution without being reported, when
       * profileTests is set.
       */
      private static final long profileThreshold = Long.getLong("jsr166.profileThreshold", 100);
    
      @Override
      protected void runTest() throws Throwable {
        if (profileTests) runTestProfiled();
        else super.runTest();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
Back to top