Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 158 for 0xFF (0.14 sec)

  1. src/main/java/jcifs/smb1/netbios/Name.java

            byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
            for( int i = 0; i < 15; i++ ) {
                tmp[i] = (byte)((( src[srcIndex + ( 2 * i + 1 )] & 0xFF ) - 0x41 ) << 4 );
                tmp[i] |= (byte)((( src[srcIndex + ( 2 * i + 2 )] & 0xFF ) - 0x41 ) & 0x0F );
                if( tmp[i] != (byte)' ' ) {
                    length = i + 1;
                }
            }
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      }
    
      public void testFull() {
        // Test 32 byte array of 0xFF.
        byte[] fulls = new byte[32];
        Arrays.fill(fulls, (byte) 0xFF);
        assertCrc(0x62a8ab43, fulls);
      }
    
      public void testFull100() {
        // Test 100 byte array of 0xFF.
        byte[] fulls = new byte[100];
        Arrays.fill(fulls, (byte) 0xFF);
        assertCrc(0xbc753add, fulls);
      }
    
      public void testAscending() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Name.java

                tmp[ i ] |= (byte) ( ( ( src[ srcIndex + ( 2 * i + 2 ) ] & 0xFF ) - 0x41 ) & 0x0F );
                if ( tmp[ i ] != (byte) ' ' ) {
                    length = i + 1;
                }
            }
            this.name = Strings.fromOEMBytes(tmp, 0, length, this.config);
            this.hexCode = ( ( src[ srcIndex + TYPE_OFFSET ] & 0xFF ) - 0x41 ) << 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            return ( src[srcIndex] & 0xFF ) +
                    (( src[srcIndex + 1] & 0xFF ) << 8 );
        }
        static int readInt4( byte[] src, int srcIndex ) {
            return ( src[srcIndex] & 0xFF ) +
                    (( src[srcIndex + 1] & 0xFF ) << 8 ) +
                    (( src[srcIndex + 2] & 0xFF ) << 16 ) +
                    (( src[srcIndex + 3] & 0xFF ) << 24 );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtAddress.java

         */
        public byte[] getAddress () {
            byte[] addr = new byte[4];
            addr[ 0 ] = (byte) ( ( this.address >>> 24 ) & 0xFF );
            addr[ 1 ] = (byte) ( ( this.address >>> 16 ) & 0xFF );
            addr[ 2 ] = (byte) ( ( this.address >>> 8 ) & 0xFF );
            addr[ 3 ] = (byte) ( this.address & 0xFF );
            return addr;
        }
    
    
        /**
         * To convert this address to an <code>InetAddress</code>.
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          Integer[] copy = inputArrays[i & 0xFF].clone();
          sort(copy);
          tmp += copy[0];
        }
        return tmp;
      }
    
      @Benchmark
      int arraysSortOrderingNatural(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          Integer[] copy = inputArrays[i & 0xFF].clone();
          sort(copy, Ordering.natural());
          tmp += copy[0];
        }
        return tmp;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

          h ^= fingerprint(buf, bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          int x0 = buf[bufLen - 1] & 0xff;
          int x1 = buf[bufLen - 2] & 0xff;
          int x2 = buf[bufLen - 3] & 0xff;
          int x3 = buf[bufLen / 2] & 0xff;
          buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3;
          buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/RC4.java

                j = (j + key[ki + i % klen] + s[i]) & 0xff;
                byte t = s[i];
                s[i] = s[j];
                s[j] = t;
            }
    
            i = j = 0;
        }
        public void update(byte[] src, int soff, int slen, byte[] dst, int doff)
        {
            int slim;
    
            slim = soff + slen;
            while (soff < slim) {
                i = (i + 1) & 0xff;
                j = (j + s[i]) & 0xff;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/HashCode.java

              bytes.length >= 4,
              "HashCode#asInt() requires >= 4 bytes (it only has %s bytes).",
              bytes.length);
          return (bytes[0] & 0xFF)
              | ((bytes[1] & 0xFF) << 8)
              | ((bytes[2] & 0xFF) << 16)
              | ((bytes[3] & 0xFF) << 24);
        }
    
        @Override
        public long asLong() {
          checkState(
              bytes.length >= 8,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        val length = source.readMedium()
        if (length > INITIAL_MAX_FRAME_SIZE) {
          throw IOException("FRAME_SIZE_ERROR: $length")
        }
        val type = source.readByte() and 0xff
        val flags = source.readByte() and 0xff
        val streamId = source.readInt() and 0x7fffffff // Ignore reserved bit.
        if (type != TYPE_WINDOW_UPDATE && logger.isLoggable(FINE)) {
          logger.fine(frameLog(true, streamId, length, type, flags))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top