Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 842 for format$1 (0.05 sec)

  1. docs/debugging/reorder-disks/main.go

    	return result, nil
    }
    
    func getFormatJSON(path string) (format, error) {
    	formatJSON, err := os.ReadFile(filepath.Join(path, ".minio.sys/format.json"))
    	if err != nil {
    		return format{}, err
    	}
    	var f format
    	err = json.Unmarshal(formatJSON, &f)
    	if err != nil {
    		return format{}, err
    	}
    
    	return f, nil
    }
    
    func getDiskLocation(f format) (string, error) {
    	for i, set := range f.XL.Sets {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

         * @param bytes the 16-byte GUID data in little-endian format (SMB wire format)
         */
        public HandleGuid(byte[] bytes) {
            if (bytes.length != 16) {
                throw new IllegalArgumentException("GUID must be 16 bytes");
            }
    
            // MS-SMB2 specifies little-endian byte ordering for GUID components
            // Convert from little-endian wire format to Java UUID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. 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
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. logger/sql_test.go

    		},
    		{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

        val direction = if (inbound) "<<" else ">>"
        return format(
          "%s 0x%08x %5d %-13s %d",
          direction,
          streamId,
          length,
          formattedType,
          windowSizeIncrement,
        )
      }
    
      internal fun formattedType(type: Int): String = if (type < FRAME_NAMES.size) FRAME_NAMES[type] else format("0x%02x", type)
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            // Test the byte format written by the class
            String directoryName = "\testDir";
            SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, directoryName);
    
            // Expected format: buffer format (0x04) + path string (null terminated)
            byte[] expected = new byte[directoryName.length() + 2];
            expected[0] = 0x04; // Buffer format
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

            assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN);
            assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:10"));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. cmd/signature-v4_test.go

    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) It should fail with a bad signature.
    		{
    			form: http.Header{
    				"X-Amz-Credential": []string{fmt.Sprintf(credentialTemplate, accessKey, now.Format(yyyymmdd), globalMinioDefaultRegion)},
    				"X-Amz-Date":       []string{now.Format(iso8601Format)},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            assertTrue(result.contains(Hexdump.toHexString(TEST_INFO_LEVEL, 3)));
        }
    
        @Test
        void testToStringWithDifferentPaths() {
            // Test with various path formats
            String[] testPaths = { "simple.txt", "path/to/file.doc", "//server/share/file.txt", "folder\\windows\\style.txt", "" // empty path
            };
    
            for (String path : testPaths) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. android/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));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top