Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for formatted (0.23 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

         */
        @Test
        public void testOption() {
            String[] formatted = JavaPathType.MODULES.option(paths());
            assertEquals(2, formatted.length);
            assertEquals("--module-path", formatted[0]);
            assertEquals(toPlatformSpecific("\"src/foo.java:src/bar.java\""), formatted[1]);
        }
    
        /**
         * Tests the formatting of an option with a module name.
         */
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

        )
        assertInvalid(
          "text/plain; a=\"@",
          "Parameter is not formatted correctly: \"a=\"@\" for: \"text/plain; a=\"@\"",
        )
        assertInvalid(
          "text/plain; a=1; b",
          "Parameter is not formatted correctly: \"b\" for: \"text/plain; a=1; b\"",
        )
        assertInvalid(
          "text/plain; a=1; b=",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. buildscripts/verify-healing-with-root-disks.sh

    		sudo mount ${device} ${WORK_DIR}/mnt/disk${i}/
    		sudo chown "$(id -u):$(id -g)" ${device} ${WORK_DIR}/mnt/disk${i}/
    	done
    	set +e
    }
    
    # Start a distributed MinIO setup, unmount one disk and check if it is formatted
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    	start_minio ${start_port}
    
    	# Unmount the disk, after the unmount the device id
    	# /tmp/xxx/mnt/disk4 will be the same as '/' and it
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/MemoryUtil.java

    /**
     * Utility class for memory operations and size calculations.
     */
    public final class MemoryUtil {
        private MemoryUtil() {
        }
    
        /**
         * Gets a formatted memory usage log string.
         *
         * @return formatted memory usage information
         */
        public static String getMemoryUsageLog() {
            final Runtime runtime = Runtime.getRuntime();
            final long freeBytes = runtime.freeMemory();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

                }
            }));
        }
    
        /**
         * Converts the discloser to a Slack message format.
         *
         * @param discloser the mail posting discloser
         * @return the formatted Slack message
         */
        protected String toSlackMessage(final SMailPostingDiscloser discloser) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append("{\"text\":\"");
            buf.append(LF);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. schema/naming_test.go

    	formattedName := ns.formatName("prefix", "table", "thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString")
    	if formattedName != "prefix_table_thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVer180f2c67" {
    		t.Errorf("invalid formatted name generated, got %v", formattedName)
    	}
    }
    
    func TestFormatNameWithStringLongerThan64Characters(t *testing.T) {
    	ns := NamingStrategy{IdentifierMaxLength: 64}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        /**
        * Indicates whether the OEM-formatted domain name in which the
        * client workstation has membership is supplied in the Type-1 message.
        * This is used in the negotation of local authentication.
        */
        int NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED = 0x00001000;
    
        /**
        * Indicates whether the OEM-formatted workstation name is supplied
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            assertThrows(NdrException.class, () -> m.decode(buf));
        }
    
        @Test
        void testRoundTripEncodeDecodeForResponseType() throws Exception {
            // Create a properly formatted response message
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
    
            // Manually encode a response header
            buf.enc_ndr_small(5); // RPC version
            buf.enc_ndr_small(0); // minor version
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        /**
         * Indicates whether the OEM-formatted domain name in which the
         * client workstation has membership is supplied in the Type-1 message.
         * This is used in the negotation of local authentication.
         */
        int NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED = 0x00001000;
    
        /**
         * Indicates whether the OEM-formatted workstation name is supplied
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/LogStreamTest.java

            logStream.println("line");
            logStream.printf("formatted %d%n", 42);
            logStream.flush();
    
            String output = testOutput.toString();
            assertTrue(output.contains("test"));
            assertTrue(output.contains("123"));
            assertTrue(output.contains("true"));
            assertTrue(output.contains("line"));
            assertTrue(output.contains("formatted 42"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top