Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for trimEnd (0.13 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

        if (ktTypeAsText.contains(" -> ")) {
            // This is a function of some sort
            return name.startsWith("kotlin.jvm.functions.Function")
        }
    
        val ktTypeRawName = ktTypeAsText
            .trimEnd('?') // nullability is not part of JVM types
            .substringBefore('<') // generics are not part of parameter types in JVM method signatures
    
        val thisTypeAsKt = primitiveTypeStrings[name] ?: name
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       */
      public ImmutableLongArray trimmed() {
        return isPartialView() ? new ImmutableLongArray(toArray()) : this;
      }
    
      private boolean isPartialView() {
        return start > 0 || end < array.length;
      }
    
      Object writeReplace() {
        return trimmed();
      }
    
      Object readResolve() {
        return isEmpty() ? EMPTY : this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/ImmutableIntArray.java

       */
      public ImmutableIntArray trimmed() {
        return isPartialView() ? new ImmutableIntArray(toArray()) : this;
      }
    
      private boolean isPartialView() {
        return start > 0 || end < array.length;
      }
    
      Object writeReplace() {
        return trimmed();
      }
    
      Object readResolve() {
        return isEmpty() ? EMPTY : this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        ImmutableDoubleArray trimmed = iia.trimmed();
        assertThat(trimmed).isNotSameInstanceAs(iia);
    
        // Yes, this is apparently how you check array equality in Truth
        assertThat(trimmed.toArray()).isEqualTo(iia.toArray());
      }
    
      private static void assertDoesntActuallyTrim(ImmutableDoubleArray iia) {
        assertThat(iia.trimmed()).isSameInstanceAs(iia);
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       */
      public ImmutableIntArray trimmed() {
        return isPartialView() ? new ImmutableIntArray(toArray()) : this;
      }
    
      private boolean isPartialView() {
        return start > 0 || end < array.length;
      }
    
      Object writeReplace() {
        return trimmed();
      }
    
      Object readResolve() {
        return isEmpty() ? EMPTY : this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       */
      public ImmutableDoubleArray trimmed() {
        return isPartialView() ? new ImmutableDoubleArray(toArray()) : this;
      }
    
      private boolean isPartialView() {
        return start > 0 || end < array.length;
      }
    
      Object writeReplace() {
        return trimmed();
      }
    
      Object readResolve() {
        return isEmpty() ? EMPTY : this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        ImmutableIntArray trimmed = iia.trimmed();
        assertThat(trimmed).isNotSameInstanceAs(iia);
    
        // Yes, this is apparently how you check array equality in Truth
        assertThat(trimmed.toArray()).isEqualTo(iia.toArray());
      }
    
      private static void assertDoesntActuallyTrim(ImmutableIntArray iia) {
        assertThat(iia.trimmed()).isSameInstanceAs(iia);
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        ImmutableDoubleArray trimmed = iia.trimmed();
        assertThat(trimmed).isNotSameInstanceAs(iia);
    
        // Yes, this is apparently how you check array equality in Truth
        assertThat(trimmed.toArray()).isEqualTo(iia.toArray());
      }
    
      private static void assertDoesntActuallyTrim(ImmutableDoubleArray iia) {
        assertThat(iia.trimmed()).isSameInstanceAs(iia);
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_test.go

    	}
    
    	// Test trimmed
    	xl2 = xlMetaV2{}
    	trimmed := xlMetaV2TrimData(serialized)
    	failOnErr(xl2.Load(trimmed))
    	if len(xl2.data) != 0 {
    		t.Fatal("data, was not trimmed, bytes left:", len(xl2.data))
    	}
    	// Corrupt metadata, last 5 bytes is the checksum, so go a bit further back.
    	trimmed[len(trimmed)-10] += 10
    	if err := xl2.Load(trimmed); err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Cookie.kt

        }
    
        fun name(name: String) =
          apply {
            require(name.trim() == name) { "name is not trimmed" }
            this.name = name
          }
    
        fun value(value: String) =
          apply {
            require(value.trim() == value) { "value is not trimmed" }
            this.value = value
          }
    
        fun expiresAt(expiresAt: Long) =
          apply {
            var expiresAt = expiresAt
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top