Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,156 for lengthOf (0.17 sec)

  1. android/guava/src/com/google/common/net/InetAddresses.java

        // contain non-decimal characters.
        int length = end - start;
        if (length <= 0 || length > 3) {
          throw new NumberFormatException();
        }
        // Disallow leading zeroes, because no clear standard exists on
        // whether these should be interpreted as decimal or octal.
        if (length > 1 && ipString.charAt(start) == '0') {
          throw new NumberFormatException();
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/primitives/UnsignedInts.java

        @Override
        public int compare(int[] left, int[] right) {
          int minLength = Math.min(left.length, right.length);
          for (int i = 0; i < minLength; i++) {
            if (left[i] != right[i]) {
              return UnsignedInts.compare(left[i], right[i]);
            }
          }
          return left.length - right.length;
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            SMBUtil.writeInt2(this.hashAlgos != null ? this.hashAlgos.length : 0, dst, dstIndex);
            SMBUtil.writeInt2(this.salt != null ? this.salt.length : 0, dst, dstIndex + 2);
            dstIndex += 4;
    
            if ( this.hashAlgos != null ) {
                for ( int hashAlgo : this.hashAlgos ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbRandomAccess.java

         */
        void seek ( long pos );
    
    
        /**
         * Get the current file length
         * 
         * @return file length
         * @throws SmbException
         */
        long length () throws SmbException;
    
    
        /**
         * Expand/truncate file length
         * 
         * @param newLength
         *            new file length
         * @throws SmbException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
            int size = Smb2Constants.SMB2_HEADER_LENGTH + 36 + size8(2 * this.dialects.length, 4);
            if ( this.negotiateContexts != null ) {
                for ( NegotiateContextRequest ncr : this.negotiateContexts ) {
                    size += 8 + size8(ncr.size());
                }
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/DfsTest.java

            DfsReferralDataImpl dr = new DfsReferralDataImpl() {
    
                @Override
                public int getPathConsumed () {
                    return 2 + hostname.length() + root.length() + path.length();
                }
    
    
                @Override
                public String getServer () {
                    return getTestServer();
                }
    
    
                @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final StringBuffer buf = new StringBuffer(cache.length() + 100);
            final StringBuffer segBuf = new StringBuffer(1000);
            final Pattern p = Pattern.compile("<[^>]+>");
            final Matcher m = p.matcher(cache);
            final String[] regexQueries = new String[queries.length];
            final String[] hlQueries = new String[queries.length];
            for (int i = 0; i < queries.length; i++) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  8. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

            parameterTypes = constructor.getParameterTypes();
            parameterizedClassDescs = new ParameterizedClassDesc[parameterTypes.length];
            final Map<TypeVariable<?>, Type> typeVariables = beanDesc.getTypeVariables();
            for (int i = 0; i < parameterTypes.length; ++i) {
                parameterizedClassDescs[i] = ParameterizedClassDescFactory.createParameterizedClassDesc(constructor, i, typeVariables);
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

            type = SESSION_RETARGET_RESPONSE;
            length = 6;
        }
    
        int writeTrailerWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readTrailerWireFormat( InputStream in,
                                byte[] buffer,
                                int bufferIndex )
                                throws IOException {
            if( in.read( buffer, bufferIndex, length ) != length ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

        private long h1;
        private long h2;
        private int length;
    
        Murmur3_128Hasher(int seed) {
          super(CHUNK_SIZE);
          this.h1 = seed;
          this.h2 = seed;
          this.length = 0;
        }
    
        @Override
        protected void process(ByteBuffer bb) {
          long k1 = bb.getLong();
          long k2 = bb.getLong();
          bmix64(k1, k2);
          length += CHUNK_SIZE;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.6K bytes
    - Viewed (0)
Back to top