- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,870 for daha (0.02 sec)
-
src/test/java/jcifs/BaseTest.java
} /** * Create a test byte array with specified size and pattern */ protected byte[] createTestData(int size) { byte[] data = new byte[size]; for (int i = 0; i < size; i++) { data[i] = (byte) (i % 256); } return data; } /** * Create a test string with specified length */ protected String createTestString(int length) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.2K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
So, with that type declaration, **FastAPI** gives you automatic request <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>. /// ## Data validation { #data-validation } But if you go to the browser at <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, you will see a nice HTTP error of:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
assertNotNull(encrypted, "Encrypted data should not be null"); assertTrue(encrypted.length > 0, "Encrypted data should have content"); // Verify plaintext is not in encrypted data String encryptedStr = new String(encrypted); assertFalse(encryptedStr.contains("SecretPassword123"), "Plaintext should not be visible in encrypted data"); // Decrypt
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java
assertEquals("", data.getDataMap().get("key2")); } public void test_register_primitives() { RenderData data = new RenderData(); RenderDataUtil.register(data, "int", 123); assertEquals(123, data.getDataMap().get("int")); RenderDataUtil.register(data, "long", 456L); assertEquals(456L, data.getDataMap().get("long")); RenderDataUtil.register(data, "boolean", true);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsReferralTest.java
// Create a mock DfsReferralData object DfsReferralData mockData = mock(DfsReferralData.class); // Create a DfsReferral instance with the mock data DfsReferral dfsReferral = new DfsReferral(mockData); // Verify that getData() returns the same mock data object assertEquals(mockData, dfsReferral.getData(), "getData() should return the DfsReferralData object passed to the constructor."); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStore.java
*/ public interface DataStore { /** * Store the data. * @param config The data configuration. * @param callback The callback. * @param initParamMap The initial parameters. */ void store(DataConfig config, IndexUpdateCallback callback, DataStoreParams initParamMap); /** * Stop the data store. */ void stop();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.2K bytes - Viewed (0) -
cmd/hasher.go
// getSHA256Hash returns SHA-256 hash in hex encoding of given data. func getSHA256Hash(data []byte) string { return hex.EncodeToString(getSHA256Sum(data)) } // getSHA256Hash returns SHA-256 sum of given data. func getSHA256Sum(data []byte) []byte { hash := sha256.New() hash.Write(data) return hash.Sum(nil) } // getMD5Sum returns MD5 sum of given data. func getMD5Sum(data []byte) []byte { hash := md5.New() hash.Write(data)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 27 13:00:19 UTC 2022 - 1.4K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
} // Remove entry xl2.data.remove(fi.VersionID) failOnErr(xl2.data.validate()) if xl2.data.find(fi.VersionID) != nil { t.Fatal("Data was not removed:", xl2.data.find(fi.VersionID)) } if xl2.data.entries() != 1 { t.Fatal("want 1 entry, got", xl2.data.entries()) } // Re-add xl2.data.replace(fi.VersionID, fi.Data) failOnErr(xl2.data.validate()) if xl2.data.entries() != 2 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
src/main/java/jcifs/util/Hexdump.java
} /** * Converts a byte array to a hexadecimal string representation. * * @param data the byte array to convert * @return a hexadecimal string representation of the entire byte array */ public static String toHexString(final byte[] data) { return toHexString(data, 0, data.length); } /** * This is the same as {@link jcifs.util.Hexdump#toHexString(int val, intRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
* Decode a list of AvPairs * * @param data the encoded AV pairs data * @return individual pairs * @throws CIFSException if decoding fails */ public static List<AvPair> decode(final byte[] data) throws CIFSException { final List<AvPair> pairs = new LinkedList<>(); int pos = 0; boolean foundEnd = false; while (pos + 4 <= data.length) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0)