Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 342 for LOCALE (0.19 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Locale;
    
    /**
     * This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
      /** Format the template with args, only supports the placeholder {@code %s}. */
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        }
        return dummy;
      }
    
      @Benchmark
      int stringToUpperCase(int reps) {
        String string = noWorkToDo ? testString.toUpperCase(Locale.US) : testString;
    
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += string.toUpperCase(Locale.US).length();
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseCharSequence(int reps) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/LinePerThreadBufferingOutputStream.java

     * limitations under the License.
     */
    
    package org.gradle.internal.io;
    
    import java.io.IOException;
    import java.io.PrintStream;
    import java.util.Locale;
    
    public class LinePerThreadBufferingOutputStream extends PrintStream {
        private final TextStream handler;
        @SuppressWarnings("ThreadLocalUsage")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/EnumBuildOption.java

                enumValue = tryGetValue(value);
                if (enumValue == null) {
                    enumValue = tryGetValue(value.toLowerCase(Locale.ROOT));
                }
                if (enumValue == null) {
                    enumValue = tryGetValue(value.toUpperCase(Locale.ROOT));
                }
            }
            if (enumValue == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/MinimalJavadocOptions.java

        MinimalJavadocOptions breakIterator();
    
        @Nullable @Optional @Input
        String getLocale();
    
        void setLocale(@Nullable String locale);
    
        MinimalJavadocOptions locale(String locale);
    
        @Nullable @Optional @Input
        String getEncoding();
    
        void setEncoding(@Nullable String encoding);
    
        MinimalJavadocOptions encoding(String encoding);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class DateConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/text/DecimalFormatSymbolsUtilTest.java

    import java.util.Locale;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class DecimalFormatSymbolsUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetDecimalFormatSymbols() throws Exception {
            final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(Locale.GERMAN);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/BuildCacheServiceRole.java

    import org.gradle.internal.scan.UsedByScanPlugin;
    
    import java.util.Locale;
    
    @UsedByScanPlugin("values are expected (type is not linked), see BuildCacheStoreBuildOperationType and friends")
    public enum BuildCacheServiceRole {
        LOCAL,
        REMOTE;
    
        private final String displayName;
    
        BuildCacheServiceRole() {
            this.displayName = name().toLowerCase(Locale.ROOT);
        }
    
        public String getDisplayName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 15:35:05 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/analysis/StopTokenSuffixFilterFactory.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.opensearch.extension.analysis;
    
    import java.util.List;
    import java.util.Locale;
    
    import org.apache.lucene.analysis.TokenStream;
    import org.codelibs.analysis.ja.StopTokenSuffixFilter;
    import org.opensearch.common.settings.Settings;
    import org.opensearch.env.Environment;
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jansi/DefaultJansiRuntimeResolver.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.nativeintegration.jansi;
    
    import java.util.Locale;
    
    import static org.gradle.internal.nativeintegration.jansi.JansiOperatingSystemSupport.*;
    
    /**
     * Portions of this class have been copied from org.fusesource.hawtjni.runtime.Library.java,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top