Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 968 for plen (0.03 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K 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 )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            int clen = s.length();
            int blen = 2 * clen;
            byte[] b = new byte[blen];
            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);
                b[j++] = (byte)(c[i] >>> 0);
            }
            write( b, 0, blen );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            int clen = s.length();
            int blen = 2 * clen;
            byte[] b = new byte[blen];
            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 );
                b[ j++ ] = (byte) ( c[ i ] >>> 0 );
            }
            write(b, 0, blen);
        }
    
    
        @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)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

        fun handleSuccess(): RealConnection
    
        fun cancel()
    
        /**
         * Returns a plan to attempt if canceling this plan was a mistake! The returned plan is not
         * canceled, even if this plan is canceled.
         */
        fun retry(): Plan?
      }
    
      /**
       * What to do once a plan has executed.
       *
       * If [nextPlan] is not-null, another attempt should be made by following it. If [throwable] is
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial002.py hl[13,15,22,25] *}
    
    Dans cet exemple, les messages seront écrits dans le fichier `log.txt` après que la réponse soit envoyée.
    
    S'il y avait une `query` (paramètre nommé `q`) dans la requête, alors elle sera écrite dans `log.txt` via une tâche d'arrière-plan.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:29:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  9. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
Back to top