Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 44 for sepLength (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // test separators work
        for (int sepLength = 3; sepLength <= 5; sepLength++) {
          for (String separator : ImmutableList.of(",", "\n", ";;", "")) {
            testEncoding(
                encoding.withSeparator(separator, sepLength),
                decoded,
                Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded)));
          }
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

            List<String> result = new ArrayList<>();
            StringBuilder sb = new StringBuilder(size);
            // first line
            sb.setLength(0);
            repeat(sb, BOX_CHAR, size);
            result.add(sb.toString());
            // lines
            for (String line : lines) {
                sb.setLength(0);
                String[] words = S_FILTER.split(line);
                for (String word : words) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.advance(10);
            assertEquals(10, ndrBuffer.getLength());
    
            ndrBuffer.setLength(20);
            assertEquals(20, ndrBuffer.getLength());
    
            // Test with derived buffer
            NdrBuffer derived = ndrBuffer.derive(0);
            derived.setLength(5);
            assertEquals(5, derived.getLength());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java

                if (arg != null) {
                    buf.append(arg.getClass().getName());
                } else {
                    buf.append("null");
                }
                buf.append(", ");
            }
            buf.setLength(buf.length() - 2);
            return new String(buf);
        }
    
        private static String getSignature(final Class<?>... paramTypes) {
            if (paramTypes == null || paramTypes.length == 0) {
                return "";
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            when(tree.send(any(jcifs.internal.Request.class), any(RequestParam.class))).thenReturn(null);
    
            raf.setLength(100L);
    
            verify(tree, times(1)).send(any(Smb2SetInfoRequest.class), eq(RequestParam.NO_RETRY));
        }
    
        @Test
        @DisplayName("setLength(): NT SMBs capability uses Trans2SetFileInformation")
        void setLength_ntsmbs_usesTrans2() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            int notificationType = buf.dec_ndr_long();
            notification.setNotificationType(WitnessEventType.fromValue(notificationType));
    
            // Length
            int length = buf.dec_ndr_long();
            notification.setLength(length);
    
            // Number of messages
            int numberOfMessages = buf.dec_ndr_long();
    
            // Messages array
            List<WitnessNotificationMessage> messages = new ArrayList<>(numberOfMessages);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 22 14:09:32 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

            }
            Throwable t = cause.getCause();
            while (t != null) {
                buf.append(t.getMessage()).append("], [");
                t = t.getCause();
            }
            buf.setLength(buf.length() - 4);
            return new String(buf);
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. 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);
        }
    
        /**
         * Returns the string representation of the method signature.
         *
         * @param methodName
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

                    // if we're building an argument, keep doing so.
                    // if this is the case of "-Dfoo=bar", then we need to adjust the buffer.
                    if (!currentArg.isEmpty()) {
                        currentArg.setLength(currentArg.length() - 1);
                    }
    
                    cleaned.add(currentArg.toString());
    
                    currentArg = null;
                    continue;
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top