Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,455 for Locale (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/StaticVersionComparator.java

                }
                // both are strings, we compare them taking into account special meaning
                Integer sm1 = SPECIAL_MEANINGS.get(part1.toLowerCase(Locale.US));
                Integer sm2 = SPECIAL_MEANINGS.get(part2.toLowerCase(Locale.US));
                if (sm1 != null) {
                    sm2 = sm2 == null ? 0 : sm2;
                    return sm1 - sm2;
                }
                if (sm2 != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. 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)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

     * under the License.
     */
    package org.apache.maven.internal.impl.model.profile;
    
    import java.util.Locale;
    import java.util.stream.Stream;
    
    /**
     * OS support
     */
    public class Os {
    
        /**
         * The OS Name.
         */
        public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OA architecture.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/AnnotationProcessingCompileTask.java

            throw new UnsupportedOperationException("This decorator already handles annotation processing");
        }
    
        @Override
        public void setLocale(Locale locale) {
            delegate.setLocale(locale);
        }
    
        @Override
        public Boolean call() {
            if (called) {
                throw new IllegalStateException("Cannot reuse a compilation task");
            }
            called = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:42:29 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.helper;
    
    import java.util.HashMap;
    import java.util.Locale;
    import java.util.Map;
    
    import org.codelibs.core.lang.StringUtil;
    
    /**
     * @author shinsuke
     *
     */
    public class EncodingHelper {
    
        protected String defaultEncoding = null;
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top