Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 212 for 0xff (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

     * fills, it is doubled.
     */
    @Suppress("NAME_SHADOWING")
    object Hpack {
      private const val PREFIX_4_BITS = 0x0f
      private const val PREFIX_5_BITS = 0x1f
      private const val PREFIX_6_BITS = 0x3f
      private const val PREFIX_7_BITS = 0x7f
    
      private const val SETTINGS_HEADER_TABLE_SIZE = 4_096
    
      /**
       * The decoder has ultimate control of the maximum size of the dynamic table but we can choose
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            try {
                descr = DESCR[ which ].getBytes("ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            SMBUtil.writeInt2(0x0001, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  3. internal/s3select/sql/value_test.go

    			fields: fields{
    				value: []byte("3e5"),
    			},
    			want:   0,
    			wantOK: false,
    		},
    		{
    			// No support for prefixes
    			name: "hex",
    			fields: fields{
    				value: []byte("0xff"),
    			},
    			want:   0,
    			wantOK: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			v := &Value{
    				value: tt.fields.value,
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/Hexdump.java

            size = ( size % 2 == 0 ) ? size / 2 : size / 2 + 1;
            for( int i = 0, j = 0; i < size; i++ ) {
                c[j++] = HEX_DIGITS[(src[i] >> 4 ) & 0x0F];
                if( j == c.length ) {
                    break;
                }
                c[j++] = HEX_DIGITS[src[i] & 0x0F];
            }
            return new String( c );
        }
    
    /** 
     * This is the same as {@link jcifs.smb1.util.Hexdump#toHexString(int val, int
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

          }
        }
      }
    
      @Benchmark
      int meanAndVariance(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          tmp += varianceAlgorithm.variance(values[i & 0xFF], meanAlgorithm).hashCode();
        }
        return tmp;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                        lock.wait();
                    }
                } catch( InterruptedException ie ) {
                    throw new IOException( ie.getMessage() );
                }
                result = pipe_buf[beg_idx] & 0xFF;
                beg_idx = ( beg_idx + 1 ) % pipe_buf.length;
            }
            return result;
        }
        public int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            dst[ dstIndex++ ] = (byte) ( ( this.wordCount / 2 ) & 0xFF );
            dstIndex += this.wordCount;
            this.wordCount /= 2;
            this.byteCount = writeBytesWireFormat(dst, dstIndex + 2);
            dst[ dstIndex++ ] = (byte) ( this.byteCount & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( this.byteCount >> 8 ) & 0xFF );
            dstIndex += this.byteCount;
    
            this.length = dstIndex - start;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            for ( int i = 0; i < 4; i++ ) {
                dst[ dstIndex++ ] = (byte) 0xFF;
            }
            SMBUtil.writeInt2(this.writeMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.remaining, dst, dstIndex);
            dstIndex += 2;
            dst[ dstIndex++ ] = (byte) 0x00;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            }
        }
    
    
        @Override
        public int read () throws SmbException {
            if ( read(this.tmp, 0, 1) == -1 ) {
                return -1;
            }
            return this.tmp[ 0 ] & 0xFF;
        }
    
    
        @Override
        public int read ( byte b[] ) throws SmbException {
            return read(b, 0, b.length);
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

        byte[] col2 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x81};
        byte[] col3 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0xff};
    
        ImmutableSet<HashCode> hashCodes =
            ImmutableSet.of(
                SIP_WITH_KEY.hashBytes(col1),
                SIP_WITH_KEY.hashBytes(col2),
                SIP_WITH_KEY.hashBytes(col3));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top