Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for randomUUID (0.04 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

            if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
                return stacktraceString.get();
            }
    
            final String errorCode = UUID.randomUUID().toString();
            if (logger.isDebugEnabled()) {
                logger.debug("[{}] {}", errorCode, stacktraceString.get().replace("\n", "\\n"));
            } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

                ),
              )
          }
    
          result +=
            listOf(
              AttributeTypeAndValue(
                type = ObjectIdentifiers.COMMON_NAME,
                value = commonName ?: UUID.randomUUID().toString(),
              ),
            )
    
          return result
        }
    
        private fun validity(): Validity {
          val notBefore = if (notBefore != -1L) notBefore else System.currentTimeMillis()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

                .build()
    
            return create(headers, body)
          }
        }
      }
    
      class Builder
        @JvmOverloads
        constructor(
          boundary: String = UUID.randomUUID().toString(),
        ) {
          private val boundary: ByteString = boundary.encodeUtf8()
          private var type = MIXED
          private val parts = mutableListOf<Part>()
    
          /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/helper/QueryHelper.java

        /**
         * Generates a unique identifier string by creating a UUID and removing hyphens.
         *
         * @return a unique identifier string
         */
        public String generateId() {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
        /**
         * Adds a boost function to modify document scoring during search.
         * This method adds a boost function that applies to all documents.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(OptionalInt.class, OptionalInt.empty())
              .put(OptionalLong.class, OptionalLong.empty())
              .put(OptionalDouble.class, OptionalDouble.empty())
              .put(UUID.class, UUID.randomUUID())
              // common.base
              .put(CharMatcher.class, CharMatcher.none())
              .put(Joiner.class, Joiner.on(','))
              .put(Splitter.class, Splitter.on(','))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. 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 (0)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(TimeUnit.class, SECONDS)
              .put(Charset.class, UTF_8)
              .put(Currency.class, Currency.getInstance(Locale.US))
              .put(Locale.class, Locale.US)
              .put(UUID.class, UUID.randomUUID())
              // common.base
              .put(CharMatcher.class, CharMatcher.none())
              .put(Joiner.class, Joiner.on(','))
              .put(Splitter.class, Splitter.on(','))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top