Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,255 for format2 (0.05 seconds)

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

            return false;
          }
        }
        return true;
      }
    
      private static IllegalArgumentException formatIllegalArgumentException(
          String format, Object... args) {
        return new IllegalArgumentException(String.format(Locale.ROOT, format, args));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SecurityBlobTest.java

                    Arguments.of(new byte[] { (byte) 0xAB }, "ab"),
                    Arguments.of(new byte[] { (byte) 0x7F, (byte) 0x80, (byte) 0xFF }, "7f80ff"));
        }
    
        // Verifies that toString() formats bytes as lower-case hex with zero-padding
        @ParameterizedTest(name = "toString renders hex for {0}")
        @MethodSource("hexCases")
        @DisplayName("toString() renders lower-case hex with zero-padding")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            assertEquals("15 B", format.format(15L));
            assertEquals("999 B", format.format(999L));
            assertEquals("1.0 kB", format.format(1000L));
            assertEquals("5.5 kB", format.format(5500L));
            assertEquals("10 kB", format.format(10L * 1000L));
            assertEquals("15 kB", format.format(15L * 1000L));
            assertEquals("999 kB", format.format(999L * 1000L));
            assertEquals("1.0 MB", format.format(1000L * 1000L));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        }
    
        /**
         * String formats and renders the supplied arguments.  Uses the {@link org.jline.jansi.AnsiRenderer}
         * to generate the ANSI escape sequences.
         *
         * @param text format
         * @param args arguments
         * @return this
         * @since 2.2
         */
        public Ansi render(final String text, Object... args) {
            a(String.format(new org.jline.jansi.Ansi().render(text).toString(), args));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

                "\\\\s\\s" // Minimum path
        })
        @DisplayName("Should handle various valid path formats")
        void testVariousPathFormats(String path) throws Exception {
            // Given
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path);
            byte[] buffer = new byte[1024];
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/Constants.java

        // ============================================================
        // Date/Time Format Constants
        // ============================================================
    
        /** Default datetime format pattern without timezone. */
        public static final String DEFAULT_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss";
    
        /** ISO datetime format pattern with milliseconds and UTC timezone. */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/lex/input.go

    	}
    	in.macros[name] = &Macro{
    		name:   name,
    		args:   args,
    		tokens: tokens,
    	}
    }
    
    // macroDefinition returns the list of formals and the tokens of the definition.
    // The argument list is nil for no parens on the definition; otherwise a list of
    // formal argument names.
    func (in *Input) macroDefinition(name string) ([]string, []Token) {
    	prevCol := in.Stack.Col()
    	tok := in.Stack.Next()
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jStdoutLogger.java

            return false;
        }
    
        @Override
        public void trace(String msg) {}
    
        @Override
        public void trace(String format, Object arg) {}
    
        @Override
        public void trace(String format, Object arg1, Object arg2) {}
    
        @Override
        public void trace(String format, Object... arguments) {}
    
        @Override
        public void trace(String msg, Throwable t) {}
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            then:
            format(result.docbook).contains('x\n  indented')
        }
    
        def removesLeadingAsterixFromEachLine() {
            _ * classMetaData.rawCommentText >> ''' * line 1
     * line 2
    '''
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook) == '''<para>line 1
    line 2</para>'''
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 14.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

            final Date date = toDate("11:49");
            assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("11:49:10");
            assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:10"));
        }
    
        /**
         * @throws Exception
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top