- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for randomUUID (0.07 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
assertThat(request.tag(UUID::class.java)).isSameAs(uuidTag) assertThat(request.tag<UUID>()).isSameAs(uuidTag) } @Test fun replaceOnlyTag() { val uuidTag1 = UUID.randomUUID() val uuidTag2 = UUID.randomUUID() val request = Request .Builder() .url("https://square.com") .tag(UUID::class.java, uuidTag1) .tag(UUID::class.java, uuidTag2) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
assertEquals(original.hashCode(), reconstructed.hashCode()); } @Test public void testHandleGuidFromUuid() { UUID uuid = UUID.randomUUID(); HandleGuid guid1 = new HandleGuid(uuid); HandleGuid guid2 = new HandleGuid(guid1.toBytes()); assertEquals(guid1, guid2); assertEquals(uuid, guid1.getUuid()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
logger.warn("Failed to access to Web API.", e); message = e.getMessage(); } else { final String errorCode = UUID.randomUUID().toString(); message = "[" + errorCode + "] Failed to access to Web API."; logger.warn(message, e); } response.sendError(e.getStatusCode(), message); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
/** * The underlying UUID representing this handle GUID */ private final UUID guid; /** * Create a new random handle GUID */ public HandleGuid() { this.guid = UUID.randomUUID(); } /** * Create a handle GUID from existing bytes * @param bytes the 16-byte GUID data in little-endian format (SMB wire format) */ public HandleGuid(byte[] bytes) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
} @Override public void setUp() throws Exception { // create runner instance runner = new OpenSearchRunner(); // create ES nodes final String clusterName = UUID.randomUUID().toString(); runner.onBuild((number, settingsBuilder) -> { settingsBuilder.put("http.cors.enabled", true); settingsBuilder.put("http.cors.allow-origin", "*");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 7.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
} @Override public void setUp() throws Exception { // create runner instance runner = new OpenSearchRunner(); // create ES nodes final String clusterName = UUID.randomUUID().toString(); runner.onBuild((number, settingsBuilder) -> { settingsBuilder.put("http.cors.enabled", true); settingsBuilder.put("discovery.type", "single-node");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
* Creates a UUID and removes hyphens to create a clean identifier string. * * @return a new unique identifier string */ protected String getId() { return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY); } /** * Updates the user session with the provided user code. * This method registers the user info with the search log helper and updates the cookie.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
```java package jcifs.internal.smb2.persistent; import java.util.UUID; import java.nio.ByteBuffer; public class HandleGuid { private final UUID guid; public HandleGuid() { this.guid = UUID.randomUUID(); } public HandleGuid(byte[] bytes) { if (bytes.length != 16) { throw new IllegalArgumentException("GUID must be 16 bytes"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
* * @param map A map of data for the document. * @return A unique document ID. */ public String generateDocId(final Map<String, Object> map) { return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY); } /** * Abbreviates a long text string. * * @param str The string to abbreviate. * @return The abbreviated string. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
message = escapeJsonKeyValue(MESSAGE_FIELD, stacktraceString.get()); } else { final String errorCode = UUID.randomUUID().toString(); message = escapeJsonKeyValue("error_code:", errorCode); if (logger.isDebugEnabled()) { logger.debug("[{}] {}", errorCode, stacktraceString.get().replace("\n", "\\n"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.6K bytes - Viewed (1)