Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 1,682 for GoString (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       * "h2".
       *
       * See also [IANA tls-extensiontype-values][iana].
       *
       * [iana]: https://www.iana.org/assignments/tls-extensiontype-values
       */
      override fun toString(): String = protocol
    
      companion object {
        /**
         * Returns the protocol identified by `protocol`.
         *
         * @throws IOException if `protocol` is unknown.
         */
        @JvmStatic
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

        }
      }
    
      @Test fun addUnsafeNonAsciiAcceptsUnicodeValue() {
        val headers =
          Headers.Builder()
            .addUnsafeNonAscii("header1", "valué1")
            .build()
        assertThat(headers.toString()).isEqualTo("header1: valué1\n")
      }
    
      // Fails on JS, ClassCastException: Illegal cast
      @Test fun ofMapThrowsOnNull() {
        assertFailsWith<NullPointerException> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

          return standardToArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
          return standardToArray(array);
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ForwardingListTest.java

          return standardToArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
          return standardToArray(array);
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Enums.java

          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return enumClass.hashCode();
        }
    
        @Override
        public String toString() {
          return "Enums.stringConverter(" + enumClass.getName() + ".class)";
        }
    
        private static final long serialVersionUID = 0L;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. utils/utils.go

    	}
    
    	if valuer, ok := x.(driver.Valuer); ok {
    		x, _ = valuer.Value()
    	}
    	if valuer, ok := y.(driver.Valuer); ok {
    		y, _ = valuer.Value()
    	}
    	return reflect.DeepEqual(x, y)
    }
    
    func ToString(value interface{}) string {
    	switch v := value.(type) {
    	case string:
    		return v
    	case int:
    		return strconv.FormatInt(int64(v), 10)
    	case int8:
    		return strconv.FormatInt(int64(v), 10)
    	case int16:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                Element element = document.createElement("UNKNOWN-ENUM");
                element.appendChild(document.createTextNode(enumConstant.toString()));
                return element;
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          val valueCountString = readUtf8LineStrict()
          val blank = readUtf8LineStrict()
    
          if (MAGIC != magic ||
            VERSION_1 != version ||
            appVersion.toString() != appVersionString ||
            valueCount.toString() != valueCountString ||
            blank.isNotEmpty()
          ) {
            throw IOException(
              "unexpected journal header: [$magic, $version, $valueCountString, $blank]",
            )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public int hashCode() {
          return bimap.hashCode();
        }
    
        // There's really no good way to implement toString() without printing the entire BiMap, right?
        @Override
        public String toString() {
          return "Maps.asConverter(" + bimap + ")";
        }
    
        private static final long serialVersionUID = 0L;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public int hashCode() {
          return bimap.hashCode();
        }
    
        // There's really no good way to implement toString() without printing the entire BiMap, right?
        @Override
        public String toString() {
          return "Maps.asConverter(" + bimap + ")";
        }
    
        private static final long serialVersionUID = 0L;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top