Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Length (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

                char[] in = url.getPath().toCharArray();
                char[] out = new char[in.length];
                int length = in.length, i, o, state, s;
    
                                  /* The canonicalization routine
                                   */
                state = 0;
                o = 0;
                for( i = 0; i < length; i++ ) {
                    switch( state ) {
                        case 0:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

                    .maximumSize(maxSize));
        long totalCapacity = 0;
        assertTrue(
            "segments=" + map.segments.length + ", maxSize=" + maxSize,
            map.segments.length <= max(1, maxSize / 10));
        for (int i = 0; i < map.segments.length; i++) {
          totalCapacity += map.segments[i].maxSegmentWeight;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

                    .maximumSize(maxSize));
        long totalCapacity = 0;
        assertTrue(
            "segments=" + map.segments.length + ", maxSize=" + maxSize,
            map.segments.length <= max(1, maxSize / 10));
        for (int i = 0; i < map.segments.length; i++) {
          totalCapacity += map.segments[i].maxSegmentWeight;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheTest.kt

        val response1 = client.newCall(request).execute()
        val in1 = response1.body.source()
        assertThat(in1.readUtf8("I love ".length.toLong())).isEqualTo("I love ")
        in1.skip("puppies but hate ".length.toLong())
        assertThat(in1.readUtf8("spiders".length.toLong())).isEqualTo("spiders")
        assertThat(in1.exhausted()).isTrue()
        in1.close()
        assertThat(cache.writeSuccessCount()).isEqualTo(1)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(recordedRequest.body.size).isEqualTo(0)
        assertThat(recordedRequest.headers["Content-Length"]).isNull()
      }
    
      @Test
      fun headResponseContentLengthIsIgnored() {
        server.enqueue(
          MockResponse.Builder()
            .clearHeaders()
            .addHeader("Content-Length", "100")
            .build(),
        )
        server.enqueue(
          MockResponse(body = "abc"),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

                          const void* value, size_t length) {
      tensorflow::StringPiece s(static_cast<const char*>(value), length);
      desc->node_builder.Attr(attr_name, s);
    }
    
    void TF_SetAttrStringList(TF_OperationDescription* desc, const char* attr_name,
                              const void* const* values, const size_t* lengths,
                              int num_values) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

          try {
            if (count != 0) { // read-volatile
              long now = map.ticker.read();
              AtomicReferenceArray<ReferenceEntry<K, V>> table = this.table;
              int length = table.length();
              for (int i = 0; i < length; ++i) {
                for (ReferenceEntry<K, V> e = table.get(i); e != null; e = e.getNext()) {
                  V entryValue = getLiveValue(e, now);
                  if (entryValue == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            .clearHeaders()
            .addHeader("Content-Length: 3")
            .build(),
        )
        assertContent("abc", getResponse(newRequest("/")))
      }
    
      @Test
      fun contentDisagreesWithContentLengthHeaderBodyTooShort() {
        server.enqueue(
          MockResponse.Builder()
            .body("abc")
            .setHeader("Content-Length", "5")
            .socketPolicy(DisconnectAtEnd)
            .build(),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/bootstrap.min.js.map

    this._getItemIndex(activeElement)\n    const lastItemIndex = this._items.length - 1\n    const isGoingToWrap = isPrevDirection && activeIndex === 0 ||\n                            isNextDirection && activeIndex === lastItemIndex\n\n    if (isGoingToWrap && !this._config.wrap) {\n      return activeElement\n    }\n\n    const delta = direction === DIRECTION_PREV ? -1 : 1\n    const itemIndex = (activeIndex + delta) % this._items.length\n\n    return itemIndex === -1 ?\n      this._items[this._items.length...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    </p>
    
    <pre>
    p1 := &amp;[]int{}    // p1 points to an initialized, empty slice with value []int{} and length 0
    p2 := new([]int)  // p2 points to an uninitialized slice with value nil and length 0
    </pre>
    
    <p>
    The length of an array literal is the length specified in the literal type.
    If fewer elements than the length are provided in the literal, the missing
    elements are set to the zero value for the array element type.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top