Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 158 for 0xFF (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * 
         */
        public static final byte SMB2_OPLOCK_LEVEL_BATCH = 0x9;
        /**
         * 
         */
        public static final byte SMB2_OPLOCK_LEVEL_LEASE = (byte) 0xFF;
    
        /**
         * 
         */
        public static final int SMB2_IMPERSONATION_LEVEL_ANONYMOUS = 0x0;
    
        /**
         * 
         */
        public static final int SMB2_IMPERSONATION_LEVEL_IDENTIFICATION = 0x1;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    		extra   []byte
    		wanterr error
    	}{
    		{
    			name:    strings.Repeat("x", 1<<16),
    			extra:   []byte{},
    			wanterr: errLongName,
    		},
    		{
    			name:    "long_extra",
    			extra:   bytes.Repeat([]byte{0xff}, 1<<16),
    			wanterr: errLongExtra,
    		},
    	}
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    	for _, test := range headerTests {
    		h := &FileHeader{
    			Name:  test.name,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        try (InputStream decodingStream = encoding.decodingStream(new StringReader(encoded))) {
          for (int i = 0; i < bytes.length; i++) {
            assertThat(decodingStream.read()).isEqualTo(bytes[i] & 0xFF);
          }
          assertThat(decodingStream.read()).isEqualTo(-1);
        }
      }
    
      public void testToString() {
        assertThat(base64().toString()).isEqualTo("BaseEncoding.base64().withPadChar('=')");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

        public int read () throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if ( read(this.tmp, 0, 1) == -1 ) {
                return -1;
            }
            return this.tmp[ 0 ] & 0xFF;
        }
    
    
        /**
         * Reads up to b.length bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  5. src/archive/zip/struct.go

    		mode |= fs.ModeDir
    	}
    	return mode
    }
    
    // SetMode changes the permission and mode bits for the [FileHeader].
    func (h *FileHeader) SetMode(mode fs.FileMode) {
    	h.CreatorVersion = h.CreatorVersion&0xff | creatorUnix<<8
    	h.ExternalAttrs = fileModeToUnixMode(mode) << 16
    
    	// set MSDOS attributes too, as the original zip does.
    	if mode&fs.ModeDir != 0 {
    		h.ExternalAttrs |= msdosDir
    	}
    	if mode&0200 == 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                    break;
                case ServerMessageBlock.SMB_COM_TRANSACTION:
                case ServerMessageBlock.SMB_COM_TRANSACTION2:
                    switch ( ( (SmbComTransaction) request ).getSubCommand() & 0xFF ) {
                    case SmbComTransaction.NET_SHARE_ENUM:
                    case SmbComTransaction.NET_SERVER_ENUM2:
                    case SmbComTransaction.NET_SERVER_ENUM3:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SID.java

         * <tt>S-1-5-21-1496946806-2192648263-3843101252-1029</tt>.
         */
        @Override
        public String toString () {
            String ret = "S-" + ( this.revision & 0xFF ) + "-";
    
            if ( this.identifier_authority[ 0 ] != (byte) 0 || this.identifier_authority[ 1 ] != (byte) 0 ) {
                ret += "0x";
                ret += Hexdump.toHexString(this.identifier_authority, 0, 6);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                                  * because it specifies addr
                                  */
                request.addr = addr; /* if addr ends with 255 flag it bcast */
                request.isBroadcast = (addr.getAddress()[3] == (byte)0xFF);
    
                n = RETRY_COUNT;
                do {
                    try {
                        send( request, response, RETRY_TIMEOUT );
                    } catch( IOException ioe ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                     * Get ASCII hex value and convert to platform dependent
                     * encoding like EBCDIC perhaps
                     */
                    b[ 0 ] = (byte) ( Integer.parseInt(str.substring(i, i + 2), 16) & 0xFF );
                    out[ j++ ] = ( new String(b, 0, 1, "ASCII") ).charAt(0);
                    i++;
                    state = 0;
                }
            }
    
            return new String(out, 0, j);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  10. internal/event/config_test.go

    		{string([]byte{0xff, 0xfe, 0xfd}), true},
    		{`foo\bar`, true},
    		{"Hello/世界", false},
    	}
    
    	for i, testCase := range testCases {
    		err := ValidateFilterRuleValue(testCase.value)
    		expectErr := (err != nil)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
Back to top