Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 7,083 for returned (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

     */
    abstract class ResponseBody : Closeable {
      /** Multiple calls to [charStream] must return the same instance. */
      private var reader: Reader? = null
    
      abstract fun contentType(): MediaType?
    
      /**
       * Returns the number of bytes in that will returned by [bytes], or [byteStream], or -1 if
       * unknown.
       */
      abstract fun contentLength(): Long
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      }
    
      fun idleConnectionCount(): Int {
        return connections.count {
          it.withLock { it.calls.isEmpty() }
        }
      }
    
      fun connectionCount(): Int {
        return connections.size
      }
    
      /**
       * Attempts to acquire a recycled connection to [address] for [connectionUser]. Returns the connection if it
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. internal/grid/manager.go

    		return ErrHandlerAlreadyExists
    	}
    	m.handlers.subStreams[subID] = &h
    	// Copy so clients can also pick it up for other subpaths.
    	m.handlers.subStreams[makeZeroSubHandlerID(id)] = &h
    	return nil
    }
    
    // HostName returns the name of the local host.
    func (m *Manager) HostName() string {
    	return m.local
    }
    
    // Targets returns the names of all remote targets.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NbtAddress.java

            return this.isPermanent;
        }
    
    
        @Override
        public byte[] getMacAddress ( CIFSContext tc ) throws UnknownHostException {
            checkNodeStatusData(tc);
            return this.macAddress;
        }
    
    
        /**
         * The hostname of this address. If the hostname is null the local machines
         * IP address is returned.
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

          if (hashAlgorithm != other.hashAlgorithm) return false
          if (hash != other.hash) return false
    
          return true
        }
    
        override fun hashCode(): Int {
          var result = pattern.hashCode()
          result = 31 * result + hashAlgorithm.hashCode()
          result = 31 * result + hash.hashCode()
          return result
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. cmd/streaming-signature-v4.go

    	if len(wantTrailers) > 0 {
    		return io.ErrUnexpectedEOF
    	}
    	return nil
    }
    
    // readCRLF - check if reader only has '\r\n' CRLF character.
    // returns malformed encoding if it doesn't.
    func readCRLF(reader io.Reader) error {
    	buf := make([]byte, 2)
    	_, err := io.ReadFull(reader, buf[:2])
    	if err != nil {
    		return err
    	}
    	if buf[0] != '\r' || buf[1] != '\n' {
    		return errMalformedEncoding
    	}
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

            return old;
          }
        }
      }
    
      private static int getHash(long entry) {
        return (int) (entry >>> 32);
      }
    
      /** Returns the index, or UNSET if the pointer is "null" */
      private static int getNext(long entry) {
        return (int) entry;
      }
    
      /** Returns a new entry value by changing the "next" index of an existing entry */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            return result;
        }
    
        // Backward compat
    
        /**
         * Returns the plugin context for given key ({@link PluginDescriptor#getPluginLookupKey()} and
         * {@link MavenProject}, never returns {@code null} as if context not present, creates it.
         *
         * <strong>Implementation note:</strong> while this method return type is {@link Map}, the returned map instance
         * implements {@link ConcurrentMap} as well.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. cmd/data-scanner-metric.go

    	p.currentPaths.Range(func(k, v interface{}) bool {
    		i++
    		return true
    	})
    	return i
    }
    
    // lifetime returns the lifetime count of the specified metric.
    func (p *scannerMetrics) lifetime(m scannerMetric) uint64 {
    	if m >= scannerMetricLast {
    		return 0
    	}
    	val := atomic.LoadUint64(&p.operations[m])
    	return val
    }
    
    // lastMinute returns the last minute statistics of a metric.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Stopwatch.java

          return SECONDS;
        }
        if (MILLISECONDS.convert(nanos, NANOSECONDS) > 0) {
          return MILLISECONDS;
        }
        if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) {
          return MICROSECONDS;
        }
        return NANOSECONDS;
      }
    
      private static String abbreviate(TimeUnit unit) {
        switch (unit) {
          case NANOSECONDS:
            return "ns";
          case MICROSECONDS:
            return "\u03bcs"; // μs
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top