Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 173 for 0x02 (0.04 sec)

  1. src/archive/tar/strconv.go

    	for _, c := range s {
    		if c >= 0x80 || c == 0x00 {
    			return false
    		}
    	}
    	return true
    }
    
    // toASCII converts the input to an ASCII C-style string.
    // This is a best effort conversion, so invalid characters are dropped.
    func toASCII(s string) string {
    	if isASCII(s) {
    		return s
    	}
    	b := make([]byte, 0, len(s))
    	for _, c := range s {
    		if c < 0x80 && c != 0x00 {
    			b = append(b, byte(c))
    		}
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComDeleteDirectory.java

            return 0;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[ dstIndex++ ] = (byte) 0x04;
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComDeleteDirectory.java

        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[dstIndex++] = (byte)0x04;
            dstIndex += writeString( path, dst, dstIndex );
    
            return dstIndex - start;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        new Random(RANDOM_SEED).nextBytes(testBytes);
      }
    
      @Benchmark
      byte hashing(int reps) {
        byte result = 0x01;
        HashMethod hashMethod = this.hashMethod;
        Algorithm algorithm = this.algorithm;
        for (int i = 0; i < reps; i++) {
          result ^= hashMethod.hash(algorithm, testBytes)[0];
        }
        return result;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        new Random(RANDOM_SEED).nextBytes(testBytes);
      }
    
      @Benchmark
      byte hashing(int reps) {
        byte result = 0x01;
        HashMethod hashMethod = this.hashMethod;
        Algorithm algorithm = this.algorithm;
        for (int i = 0; i < reps; i++) {
          result ^= hashMethod.hash(algorithm, testBytes)[0];
        }
        return result;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            this.maxSetupCount = 0;
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = this.getSubCommand();
            dst[ dstIndex++ ] = (byte) 0x00;
            return 2;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            }
    
            off -= 4;
    
            b[off + 0] = (byte)SessionServicePacket.SESSION_MESSAGE;
            b[off + 1] = (byte)0x00; 
            b[off + 2] = (byte)(( len >> 8 ) & 0xFF ); 
            b[off + 3] = (byte)( len & 0xFF ); 
    
            out.write( b, off, 4 + len );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                bufferIndex += 2;
            }
            numEntries = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            isEndOfSearch = ( buffer[bufferIndex] & 0x01 ) == 0x01 ? true : false;
            bufferIndex += 2;
            eaErrorOffset = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            lastNameOffset = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		[size_is(count)] LsarTranslatedName *names;
    	} LsarTransNameArray;
    
    	[op(0x00)]
    	int LsarClose([in,out] policy_handle *handle);
    
    	[op(0x07)]
    	int LsarQueryInformationPolicy([in] policy_handle *handle,
    			[in] uint16_t level,
    			[out,switch_is(level),unique] LsarPolicyInfo *info);
    
    	[op(0x0f)]
    	int LsarLookupSids([in] policy_handle *handle,
    			[in] LsarSidArray *sids,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		[size_is(count)] LsarTranslatedName *names;
    	} LsarTransNameArray;
    
    	[op(0x00)]
    	int LsarClose([in,out] policy_handle *handle);
    
    	[op(0x07)]
    	int LsarQueryInformationPolicy([in] policy_handle *handle,
    			[in] uint16_t level,
    			[out,switch_is(level),unique] LsarPolicyInfo *info);
    
    	[op(0x0f)]
    	int LsarLookupSids([in] policy_handle *handle,
    			[in] LsarSidArray *sids,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
Back to top