- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for toConstant (0.16 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GUtilTest.groovy
toConstant("Two Words") == "TWO_WORDS" toConstant(" Two \t words\n") == "TWO_WORDS" toConstant("four or so Words") == "FOUR_OR_SO_WORDS" toConstant("trailing-") == "TRAILING" toConstant("a") == "A" toConstant("A") == "A" toConstant("aB") == "A_B" toConstant("ABC") == "ABC" toConstant("ABCThing") == "ABC_THING" toConstant("ABC Thing") == "ABC_THING"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.7K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/jvm/application/tasks/CreateStartScripts.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java
return builder.toString(); } /** * Converts an arbitrary string to upper case identifier with words separated by _. Eg, camelCase -> CAMEL_CASE */ public static String toConstant(CharSequence string) { if (string == null) { return null; } return toWords(string, '_').toUpperCase(Locale.ROOT); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 19.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java
} /** * Converts an arbitrary string to upper case identifier with words separated by _. Eg, camelCase -> CAMEL_CASE */ @SuppressWarnings("StringCaseLocaleUsage") public static String toConstant(CharSequence string) { if (string == null) { return null; } return toWords(string, '_').toUpperCase(); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 21.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
map.put(FieldNames.DOC_FREQ, docFreq); map.put(FieldNames.USER_BOOST, userBoost); map.put(FieldNames.SCORE, (queryFreq + docFreq) * userBoost); map.put(FieldNames.TIMESTAMP, timestamp.toInstant().toEpochMilli()); return map; } public static SuggestItem parseSource(final Map<String, Object> source) { final String text = source.get(FieldNames.TEXT).toString();
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 20.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java
return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } else if (format.contains("date_optional_time")) { return DateTimeFormatter.ISO_DATE_TIME.format(date); } else { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery(); boolQueryBuilder .must(QueryBuilders.rangeQuery(FieldNames.TIMESTAMP).lt(time.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli())); boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
return getMavenSession().getRequest().getDegreeOfConcurrency(); } @Nonnull @Override public Instant getStartTime() { return getMavenSession().getRequest().getStartTime().toInstant(); } @Override public Path getRootDirectory() { return getMavenSession().getRequest().getRootDirectory(); } @Override public Path getTopDirectory() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 16 08:45:24 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java
return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } else if (format.contains("date_optional_time")) { return DateTimeFormatter.ISO_DATE_TIME.format(date); } else { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java
return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } else if (format.contains("date_optional_time")) { return DateTimeFormatter.ISO_DATE_TIME.format(date); } else { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0)