Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setLength (0.17 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

                    if (pathStartsWithSlash) {
                        if (initialUrlEndsWithSlash) {
                            // 1 extra '/' to remove
                            url.setLength(url.length() - 1);
                        }
                    } else if (!initialUrlEndsWithSlash) {
                        // add missing '/' between url and path
                        url.append('/');
                    }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  2. chainable_api.go

    // advanced techniques like specifying lock strength and optimizer hints. See the
    // [docs] for more depth.
    //
    //	// add a simple limit clause
    //	db.Clauses(clause.Limit{Limit: 1}).Find(&User{})
    //	// tell the optimizer to use the `idx_user_name` index
    //	db.Clauses(hints.UseIndex("idx_user_name")).Find(&User{})
    //	// specify the lock strength to UPDATE
    //	db.Clauses(clause.Locking{Strength: "UPDATE"}).Find(&users)
    //
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  3. docs/en/docs/async.md

    That's why it makes a lot of sense to use asynchronous βΈπŸ”€β― code for web APIs.
    
    This kind of asynchronicity is what made NodeJS popular (even though NodeJS is not parallel) and that's the strength of Go as a programming language.
    
    And that's the same level of performance you get with **FastAPI**.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      }
    
      private fun Snapshot.assertValue(
        index: Int,
        value: String,
      ) {
        getSource(index).use { source ->
          assertThat(sourceAsString(source)).isEqualTo(value)
          assertThat(getLength(index)).isEqualTo(value.length.toLong())
        }
      }
    
      private fun sourceAsString(source: Source) = source.buffer().readUtf8()
    
      private fun Editor.assertInoperable() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
Back to top