Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 383 for nlen (0.72 sec)

  1. src/archive/tar/writer.go

    	length := len(name)
    	if length <= nameSize || !isASCII(name) {
    		return "", "", false
    	} else if length > prefixSize+1 {
    		length = prefixSize + 1
    	} else if name[length-1] == '/' {
    		length--
    	}
    
    	i := strings.LastIndex(name[:length], "/")
    	nlen := len(name) - i - 1 // nlen is length of suffix
    	plen := i                 // plen is length of prefix
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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/MimeMap.java

            in = new byte[IN_SIZE];
            final InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/smb1/util/mime.map");
    
            inLen = 0;
            while ((n = is.read(in, inLen, IN_SIZE - inLen)) != -1) {
                inLen += n;
            }
            if (inLen < 100 || inLen == IN_SIZE) {
                throw new IOException("Error reading jcifs/smb1/util/mime.map resource");
            }
            is.close();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. 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)
  7. src/bytes/buffer_test.go

    	bytes := buf.Bytes()
    	str := buf.String()
    	if buf.Len() != len(bytes) {
    		t.Errorf("%s: buf.Len() == %d, len(buf.Bytes()) == %d", testname, buf.Len(), len(bytes))
    	}
    
    	if buf.Len() != len(str) {
    		t.Errorf("%s: buf.Len() == %d, len(buf.String()) == %d", testname, buf.Len(), len(str))
    	}
    
    	if buf.Len() != len(s) {
    		t.Errorf("%s: buf.Len() == %d, len(s) == %d", testname, buf.Len(), len(s))
    	}
    
    	if string(bytes) != s {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. lib/fips140/v1.0.0.zip

    // func gcmAesFinish(productTable *[256]byte, tagMask, T *[16]byte, pLen, dLen uint64) TEXT ·gcmAesFinish(SB),NOSPLIT,$0 #define pTbl R0 #define tMsk R1 #define tPtr R2 #define plen R3 #define dlen R4 MOVD $0xC2, R1 LSL $56, R1 MOVD $1, R0 VMOV R1, POLY.D[0] VMOV R0, POLY.D[1] VEOR ZERO.B16, ZERO.B16, ZERO.B16 MOVD productTable+0(FP), pTbl MOVD tagMask+8(FP), tMsk MOVD T+16(FP), tPtr MOVD pLen+24(FP), plen MOVD dLen+32(FP), dlen VLD1 (tPtr), [ACC0.B16] VLD1 (tMsk), [B1.B16] LSL $3, plen LSL $3, dlen...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/CharEscaper.java

          }
    
          // Copy the replacement string into the dest buffer as needed.
          if (rlen > 0) {
            System.arraycopy(r, 0, dest, destIndex, rlen);
            destIndex += rlen;
          }
          lastEscape = index + 1;
        }
    
        // Copy leftover characters if there are any.
        int charsLeft = slen - lastEscape;
        if (charsLeft > 0) {
          int sizeNeeded = destIndex + charsLeft;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/archive/zip/reader.go

    	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
    		}
    		if p := findSignatureInBlock(buf); p >= 0 {
    			buf = buf[p:]
    			directoryEndOffset = size - bLen + int64(p)
    			break
    		}
    		if i == 1 || bLen == size {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
Back to top