Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for randomUUID (0.2 sec)

  1. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

        void testCompareUuidRandom() {
            for (int j = 0; j < 32; j++) {
                ArrayList<Version> versions = new ArrayList<>();
                for (int i = 0; i < 64; i++) {
                    versions.add(newVersion(UUID.randomUUID().toString()));
                }
                try {
                    Collections.sort(versions);
                } catch (Exception e) {
                    e.printStackTrace(System.err);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/QueryHelper.java

        }
    
        public void setDefaultGeoInfo(final GeoInfo defaultGeoInfo) {
            this.defaultGeoInfo = defaultGeoInfo;
        }
    
        public String generateId() {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
        public void addBoostFunction(final ScoreFunctionBuilder<?> scoreFunction) {
            boostFunctionList.add(new FilterFunctionBuilder(scoreFunction));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return forceStop.get();
        }
    
        public void setForceStop(final boolean b) {
            forceStop.set(b);
        }
    
        public String generateDocId(final Map<String, Object> map) {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
        public String abbreviateLongText(final String str) {
            return StringUtils.abbreviate(str, ComponentUtil.getFessConfig().getMaxLogOutputLengthAsInteger());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top