Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 759 for Count (0.06 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          object : WebSocketListener() {
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ) {
              if (attempts.count > 0) {
                clientListener.setNextEventDelegate(this)
                webSockets.add(client.newWebSocket(request, clientListener))
                attempts.countDown()
              }
            }
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        val bytes = "060229ffffff7f".decodeHex()
        assertFailsWith<ProtocolException> {
          Adapters.OBJECT_IDENTIFIER.fromDer(bytes)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("unexpected byte count at OBJECT IDENTIFIER")
        }
      }
    
      /**
       * ```
       * Point ::= SEQUENCE {
       *   x [0] INTEGER OPTIONAL,
       *   y [1] INTEGER OPTIONAL
       * }
       * ```
       */
      data class Point(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    	var rp *repeatedByte
    	if len(r.buf) > 0 {
    		rp = &r.buf[len(r.buf)-1]
    		// Fast path, if p is entirely the same byte repeated.
    		if lastByte := rp.b; len(p) > 0 && p[0] == lastByte {
    			if bytes.Count(p, []byte{lastByte}) == len(p) {
    				rp.n += int64(len(p))
    				return len(p), nil
    			}
    		}
    	}
    
    	for _, b := range p {
    		if rp == nil || rp.b != b {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    	}
    
    	if err = setObjectHeaders(ctx, w, objInfo, rs, opts); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Set Parts Count Header
    	if opts.PartNumber > 0 && len(objInfo.Parts) > 0 {
    		setPartsCountHeaders(w, objInfo)
    	}
    
    	setHeadGetRespHeaders(w, r.Form)
    
    	var iw io.Writer
    	iw = w
    
    	statusCodeWritten := false
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    	dirPath := params.Get(storageRESTDirPath)
    	origvolume := params.Get(storageRESTOrigVolume)
    	count, err := strconv.Atoi(params.Get(storageRESTCount))
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    
    	entries, err := s.getStorage().ListDir(ctx, origvolume, volume, dirPath, count)
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    	out <- &ListDirResult{Entries: entries}
    	return nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       *
       * The first five lines of the journal form its header. They are the constant string
       * "libcore.io.DiskLruCache", the disk cache's version, the application's version, the value
       * count, and a blank line.
       *
       * Each of the subsequent lines in the file is a record of the state of a cache entry. Each line
       * contains space-separated values: a state, a key, and optional state-specific values.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

          // otherwise have another task queued on to it. Note the exception to this, cancellation, is
          // specially handled in execute() - execute() calls triggered by cancellation are no-ops, and
          // thus don't count.
          requireNonNull(sequencer).latestTaskQueue = executingTaskQueue;
          sequencer = null;
          try {
            // requireNonNull is safe, as discussed above.
            Runnable localTask = requireNonNull(task);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. fastapi/dependencies/utils.py

        if not fields:
            return False
        # More than one dependency could have the same field, it would show up as multiple
        # fields but it's the same one, so count them by name
        body_param_names_set = {field.name for field in fields}
        # A top level field has to be a single field, not multiple
        if len(body_param_names_set) > 1:
            return True
        first_field = fields[0]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    		return z.serverPools[poolIdx].sets[setIdx].getDisks(), nil
    	}
    	return nil, fmt.Errorf("Matching pool %s, set %s not found", humanize.Ordinal(poolIdx+1), humanize.Ordinal(setIdx+1))
    }
    
    // Return the count of disks in each pool
    func (z *erasureServerPools) SetDriveCounts() []int {
    	setDriveCounts := make([]int, len(z.serverPools))
    	for i := range z.serverPools {
    		setDriveCounts[i] = z.serverPools[i].SetDriveCount()
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

      public String toString() {
        return Iterables.toString(getDelegate());
      }
    
      /**
       * Returns the number of elements in this fluent iterable.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.count()}.
       */
      public final int size() {
        return Iterables.size(getDelegate());
      }
    
      /**
       * Returns {@code true} if this fluent iterable contains any object for which {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top