Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 461 for tlen (0.02 sec)

  1. src/main/java/jcifs/pac/PacMac.java

            int ilen = data.length, olen = out.length;
            int msbit = ((ilen << 3) - 1 + ((ilen << 3) + 13) * (i / ilen) + (ilen - i % ilen << 3)) % (ilen << 3);
            int mshigh = msbit >>> 3, mslow = msbit & 7;
            int b = c + (out[i % olen] & 0xff)
                    + (((data[(ilen - 1 - mshigh) % ilen] & 0xff) << 8 | data[(ilen - mshigh) % ilen] & 0xff) >>> mslow + 1 & 0xff);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        }
    
        @Override
        public final void writeChars(final String s) throws SmbException {
            final int clen = s.length();
            final int blen = 2 * clen;
            final byte[] b = new byte[blen];
            final char[] c = new char[clen];
            s.getChars(0, clen, c, 0);
            for (int i = 0, j = 0; i < clen; i++) {
                b[j] = (byte) (c[i] >>> 8);
                j++;
                b[j++] = (byte) (c[i] >>> 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. cmd/encryption-v1_test.go

    			if err != nil {
    				t.Errorf("Case %d: unexpected err: %v", i, err)
    			}
    			rLen := pkgSz + 32
    			if test.decSz < pkgSz {
    				rLen = test.decSz + 32
    			}
    			if skip != 0 || sn != 0 || ps != 0 || o != 0 || l != rLen {
    				t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps)
    			}
    		}
    
    		kb32 := int64(32) * humanize.KiByte
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        }
    
        @Override
        public final void writeChars(final String s) throws SmbException {
            final int clen = s.length();
            final int blen = 2 * clen;
            final byte[] b = new byte[blen];
            final char[] c = new char[clen];
            s.getChars(0, clen, c, 0);
            for (int i = 0, j = 0; i < clen; i++) {
                b[j] = (byte) (c[i] >>> 8);
                j++;
                b[j++] = (byte) (c[i] >>> 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/RC4.java

         * @param ki the starting offset in the key array
         * @param klen the length of the key to use
         */
        public void init(final byte[] key, final int ki, final int klen) {
            s = new byte[256];
    
            for (i = 0; i < 256; i++) {
                s[i] = (byte) i;
            }
    
            for (i = j = 0; i < 256; i++) {
                j = j + key[ki + i % klen] + s[i] & 0xff;
                final byte t = s[i];
                s[i] = s[j];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    	// look for directoryEndSignature in the last 1k, then in the last 65k
    	var buf []byte
    	var directoryEndOffset int64
    	for i, bLen := range []int64{1024, 65 * 1024} {
    		if bLen > size {
    			bLen = size
    		}
    		buf = make([]byte, int(bLen))
    		if _, err := r.ReadAt(buf, size-bLen); err != nil && err != io.EOF {
    			return nil, 0, err
    		}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/endtoend_test.go

    			suf := "(PC)"
    			for !strings.HasSuffix(f[index], suf) {
    				index--
    				suf = "(PC),"
    			}
    			str := f[index]
    			n, err := strconv.Atoi(str[:len(str)-len(suf)])
    			if err == nil {
    				f[index] = fmt.Sprintf("%d%s", seq+n, suf)
    			}
    		}
    
    		if len(f) == 1 {
    			printed = f[0]
    		} else {
    			printed = f[0] + "\t" + strings.Join(f[1:], " ")
    		}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 26 01:02:50 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteStreams.java

       * or {@code len} is negative, or {@code off+len} is greater than the length of the array {@code
       * b}, then an {@code IndexOutOfBoundsException} is thrown. If {@code len} is zero, then no bytes
       * are read. Otherwise, the first byte read is stored into element {@code b[off]}, the next one
       * into {@code b[off+1]}, and so on. The number of bytes read is, at most, equal to {@code len}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
            if (len > this.outputBuffer.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

                    SmbConstants.DEFAULT_SHARING);
    
            byte[] data = new byte[10];
    
            // When & Then - test boundary conditions
            // Negative length or offset should not cause issues (len <= 0 returns early)
            assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top