Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for setLengths (0.16 sec)

  1. maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

            int pad = lastLength - buffer.length();
            lastLength = buffer.length();
            pad(buffer, pad);
            buffer.append('\r');
            out.print(buffer);
            out.flush();
            buffer.setLength(0);
        }
    
        private void pad(StringBuilder buffer, int spaces) {
            String block = "                                        ";
            while (spaces > 0) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/doc.go

    //
    // If you need a secret-key MAC (message authentication code), prepend the
    // secret key to the input, hash with SHAKE256 and read at least 32 bytes of
    // output.
    //
    // # Security strengths
    //
    // The SHA3-x (x equals 224, 256, 384, or 512) functions have a security
    // strength against preimage attacks of x bits. Since they only produce "x"
    // bits of output, their collision-resistance is only "x/2" bits.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FileBackedBlockStore.java

                file.close();
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        @Override
        public void clear() {
            try {
                file.setLength(0);
                currentFileSize = 0;
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
            nextBlock = 0;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/graph/GraphRenderer.java

         */
        public void completeChildren() {
            if (prefix.length() == 0) {
                seenRootChildren = false;
            } else {
                prefix.setLength(prefix.length() - 5);
            }
        }
    
        public StyledTextOutput getOutput() {
            return output;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 2.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/util/internal/ArgumentsSplitter.java

                    if (hasOption) {
                        commandLineArguments.add(currentOption.toString());
                        hasOption = false;
                        currentOption.setLength(0);
                    }
                } else if (currentQuote == null && (c == '"' || c == '\'')) {
                    currentQuote = c;
                    hasOption = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 2.2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/groovy/scripts/TextResourceScriptSource.java

                    isJavaIdentifierPart(ch) ? ch : '_');
            }
            if (className.length() > 0 && !isJavaIdentifierStart(className.charAt(0))) {
                className.insert(0, '_');
            }
            className.setLength(Math.min(className.length(), 30));
            className.append('_');
            className.append(hashString(path).toCompactString());
    
            return className.toString();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 10:24:10 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    off += n;
                }
    
                doReceiveFragment(stub, isDirect);
                buf.reset();
                buf.setIndex(8);
                buf.setLength(buf.dec_ndr_short());
    
                if (securityProvider != null)
                    securityProvider.unwrap(buf);
    
                buf.setIndex(0);
    
                msg.decode_header(buf);
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  9. maven-jline/src/main/java/org/apache/maven/jline/JLineMessageBuilderFactory.java

            @Override
            public MessageBuilder append(char c) {
                builder.append(c);
                return this;
            }
    
            @Override
            public MessageBuilder setLength(int length) {
                builder.setLength(length);
                return this;
            }
    
            @Override
            public String build() {
                return builder.toAnsi(MessageUtils.terminal);
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbRandomAccess.java

    
        /**
         * Expand/truncate file length
         * 
         * @param newLength
         *            new file length
         * @throws SmbException
         */
        void setLength ( long newLength ) throws SmbException;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
Back to top