Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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/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)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/math/PairedStats.java

      }
    
      @Override
      public String toString() {
        if (count() > 0) {
          return MoreObjects.toStringHelper(this)
              .add("xStats", xStats)
              .add("yStats", yStats)
              .add("populationCovariance", populationCovariance())
              .toString();
        } else {
          return MoreObjects.toStringHelper(this)
              .add("xStats", xStats)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/HashCode.java

       */
      @Override
      public final String toString() {
        byte[] bytes = getBytesInternal();
        StringBuilder sb = new StringBuilder(2 * bytes.length);
        for (byte b : bytes) {
          sb.append(hexDigits[(b >> 4) & 0xf]).append(hexDigits[b & 0xf]);
        }
        return sb.toString();
      }
    
      private static final char[] hexDigits = "0123456789abcdef".toCharArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K 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