Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 93 for setLength (0.18 sec)

  1. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                this.responseTable.clear();
            }
        }
    
    
        @Override
        public void run () {
            try {
                while ( this.thread == Thread.currentThread() ) {
                    this.in.setLength(this.transportContext.getConfig().getNetbiosRcvBufSize());
    
                    this.socket.setSoTimeout(this.closeTimeout);
                    this.socket.receive(this.in);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                regexQueries[i] = Pattern.quote(queries[i]);
                hlQueries[i] = highlightTagPre + queries[i] + highlightTagPost;
            }
            while (m.find()) {
                segBuf.setLength(0);
                m.appendReplacement(segBuf, StringUtil.EMPTY);
                String segment = segBuf.toString();
                for (int i = 0; i < queries.length; i++) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            return fp;
        }
        public void seek( long pos ) throws SmbException {
            fp = pos;
        }
        public long length() throws SmbException {
            return file.length();
        }
        public void setLength( long newLength ) throws SmbException {
            // ensure file is open
            if( file.isOpen() == false ) {
                file.open( openFlags, 0, SmbFile.ATTR_NORMAL, options );
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/MethodUtil.java

            if (argTypes != null && argTypes.length > 0) {
                for (final Class<?> argType : argTypes) {
                    buf.append(argType.getName()).append(", ");
                }
                buf.setLength(buf.length() - 2);
            }
            buf.append(")");
            return new String(buf);
        }
    
        /**
         * シグニチャの文字列表現を返します。
         *
         * @param methodName
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

                    if (pathStartsWithSlash) {
                        if (initialUrlEndsWithSlash) {
                            // 1 extra '/' to remove
                            url.setLength(url.length() - 1);
                        }
                    } else if (!initialUrlEndsWithSlash) {
                        // add missing '/' between url and path
                        url.append('/');
                    }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        /**
         * @param fbuf
         * @throws DcerpcException
         */
        private void setupReceivedFragment ( NdrBuffer fbuf ) throws DcerpcException {
            fbuf.reset();
            fbuf.setIndex(8);
            fbuf.setLength(fbuf.dec_ndr_short());
    
            if ( this.securityProvider != null ) {
                this.securityProvider.unwrap(fbuf);
            }
        }
    
    
        /**
         * @param msg
         * @param out
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/Utf8Test.java

        Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {});
        StringBuilder sb = new StringBuilder();
        Random rnd = new Random();
        for (int trial = 0; trial < 100; trial++) {
          sb.setLength(0);
          int utf8Length = 0;
          for (int i = 0; i < 6; i++) {
            Integer randomCodePoint = codePoints[rnd.nextInt(codePoints.length)];
            sb.appendCodePoint(randomCodePoint);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                userAgent = textBuf.toString().trim();
            }
            tagQueue.pollLast();
            textBuf.setLength(0);
        }
    
        @Override
        public void characters(final char[] ch, final int start, final int length) throws SAXException {
            final String text = new String(ch, start, length);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

          val result = Relay(randomAccessFile, upstream, 0L, metadata, bufferMaxSize)
    
          // Write a dirty header. That way if we crash we won't attempt to recover this.
          randomAccessFile.setLength(0L)
          result.writeHeader(PREFIX_DIRTY, -1L, -1L)
    
          return result
        }
    
        /**
         * Creates a relay that reads a recorded stream from [file].
         *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/Utf8Test.java

        Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {});
        StringBuilder sb = new StringBuilder();
        Random rnd = new Random();
        for (int trial = 0; trial < 100; trial++) {
          sb.setLength(0);
          int utf8Length = 0;
          for (int i = 0; i < 6; i++) {
            Integer randomCodePoint = codePoints[rnd.nextInt(codePoints.length)];
            sb.appendCodePoint(randomCodePoint);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top