Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 133 for Song (0.14 sec)

  1. guava/src/com/google/common/collect/EnumMultiset.java

        checkNonnegative(occurrences, "occurrences");
        if (occurrences == 0) {
          return count(element);
        }
        int index = element.ordinal();
        int oldCount = counts[index];
        long newCount = (long) oldCount + occurrences;
        checkArgument(newCount <= Integer.MAX_VALUE, "too many occurrences: %s", newCount);
        counts[index] = (int) newCount;
        if (oldCount == 0) {
          distinctElements++;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

      var uriHost: String = "example.com"
      var uriPort: Int = 1
    
      fun newConnection(
        pool: RealConnectionPool,
        route: Route,
        idleAtNanos: Long = Long.MAX_VALUE,
        taskRunner: TaskRunner = this.taskRunner,
      ): RealConnection {
        val result =
          RealConnection.newTestConnection(
            taskRunner = taskRunner,
            connectionPool = pool,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/InterruptedRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    /**
     * Wrapped InterruptedException.
     *
     * @author shinsuke
     *
     */
    public class InterruptedRuntimeException extends RuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        public InterruptedRuntimeException(final InterruptedException e) {
            super(e);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 947 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Platform.java

         * type.
         *
         * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant
         * won't be cleared as long as the enum constant is referenced somewhere, and the enum constant
         * is referenced somewhere for as long as the enum class is loaded. *Maybe in theory* the enum
         * class could be unloaded after the above call to `getEnumConstants` but before we call
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

      }
    
      public void testEmptyArrayToEmpty() {
        doTestNewArrayEquals(new Object[0], 0);
      }
    
      public void testEmptyArrayToNonEmpty() {
        checkArrayEquals(new Long[5], ObjectArrays.newArray(new Long[0], 5));
      }
    
      public void testNonEmptyToShorter() {
        checkArrayEquals(new String[9], ObjectArrays.newArray(new String[10], 9));
      }
    
      public void testNonEmptyToSameLength() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/FileAccessException.java

     */
    package org.codelibs.core.exception;
    
    /**
     * Exception while accessing a file.
     *
     * @author shinsuke
     *
     */
    public class FileAccessException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        public FileAccessException(final String messageCode, final Object[] args, final Throwable cause) {
            super(messageCode, args, cause);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/util/BeanMap.java

    /**
     * Stringがキーで、存在しないキーにアクセスする(get)と例外を投げるマップです。
     *
     * @author higa
     */
    public class BeanMap extends LinkedHashMap<String, Object> {
    
        private static final long serialVersionUID = 1;
    
        @Override
        public Object get(final Object key) {
            if (!containsKey(key)) {
                throw new IllegalKeyOfBeanMapException(key, this);
            }
            return super.get(key);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/UnsupportedEncodingRuntimeException.java

    import java.io.UnsupportedEncodingException;
    
    /**
     * @author shinsuke
     *
     */
    public class UnsupportedEncodingRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        public UnsupportedEncodingRuntimeException(final UnsupportedEncodingException cause) {
            super("ECL0105", new Object[] { cause.getMessage() }, cause);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/ClIllegalStateException.java

    package org.codelibs.core.exception;
    
    /**
     * {@link IllegalStateException}をラップする例外です。
     *
     * @author wyukawa
     */
    public class ClIllegalStateException extends IllegalStateException {
    
        private static final long serialVersionUID = -2154525994315946504L;
    
        /**
         * {@link ClIllegalStateException}を作成します。
         */
        public ClIllegalStateException() {
            super();
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/SAXRuntimeException.java

    import org.xml.sax.SAXParseException;
    
    /**
     * {@link SAXException}をラップする例外です。
     *
     * @author higa
     */
    public class SAXRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -4933312103385038765L;
    
        /**
         * {@link SAXRuntimeException}を作成します。
         *
         * @param cause
         *            原因となった例外
         */
        public SAXRuntimeException(final SAXException cause) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top