Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for setLengths (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            fileBuilder.append(".tmp")
            dirtyFiles += directory / fileBuilder.toString()
            fileBuilder.setLength(truncateTo)
          }
        }
    
        /** Set lengths using decimal numbers like "10123". */
        @Throws(IOException::class)
        internal fun setLengths(strings: List<String>) {
          if (strings.size != valueCount) {
            invalidLengths(strings)
          }
    
          try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/RandomAccessFileTest.java

            try ( SmbFile f = createTestFile() ) {
                try {
                    long newLength = 4096L;
                    try ( SmbRandomAccessFile raf = new SmbRandomAccessFile(f, "rw") ) {
                        raf.setLength(newLength);
                    }
                    assertEquals(newLength, f.length());
                }
                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/FileOperationsTest.java

                          SmbFile t = new SmbFile(d1, makeRandomName()) ) {
                        try {
                            try ( SmbRandomAccessFile ra = f.openRandomAccess("rw") ) {
                                ra.setLength(length);
                            }
    
                            f.copyTo(t);
                            assertTrue(f.exists());
                            assertEquals(f.length(), t.length());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                        } else {
                            logger.warn("[{}][{}] Failed to analyze a text(size:{}). {}", field, lang, buf.length(), e.getMessage());
                        }
                    }
                    buf.setLength(0);
                }
            }
            if (buf.length() > 0) {
                try {
                    tokens.addAll(analyzer.analyze(buf.toString().trim(), field, lang));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            super.end();
            offsetAttr.setOffset(finalOffset, finalOffset);
        }
    
        @Override
        public void reset() throws IOException {
            super.reset();
            block.setLength(0);
            prevToken = null;
            readBufferIndex = BUFFER_SIZE;
            readBufferLen = 0;
            ch = 0;
            blkStart = 0;
            nextBlkStart = 0;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            }
        }
        public void run() {
            int nameTrnId;
            NameServicePacket response;
    
            try {
                while( thread == Thread.currentThread() ) {
                    in.setLength( RCV_BUF_SIZE );
    
                    socket.setSoTimeout( closeTimeout );
                    socket.receive( in );
    
                    if( log.level > 3 )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  7. 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
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. 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 );
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/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('/');
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. 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);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
Back to top