Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,014 for empty (0.02 seconds)

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

        override fun close() {
          closed = true
          delegate?.close() ?: run { source.close() }
        }
      }
    
      companion object {
        /** Empty response body with no content-type. Closing this response body does nothing. */
        @JvmField
        val EMPTY: ResponseBody = ByteString.EMPTY.toResponseBody()
    
        /**
         * Returns a new response body that transmits this string. If [contentType] is non-null and
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. tensorflow/c/c_api.cc

        if (!status->status.ok()) return false;
      }
      return true;
    }
    
    // Create an empty tensor of type 'dtype'. 'shape' can be arbitrary, but has to
    // result in a zero-sized tensor.
    static TF_Tensor* EmptyTensor(TF_DataType dtype,
                                  const tensorflow::TensorShape& shape) {
      static char empty;
      int64_t nelems = 1;
      std::vector<int64_t> dims;
      dims.reserve(shape.dims());
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    lookup.lookupOptional(LifecycleMapping.class, id).orElse(null);
            if (lifecycleMapping == null) {
                return Optional.empty();
            }
            Type type = typeRegistry.lookup(id).orElse(null);
            if (type == null) {
                return Optional.empty();
            }
            return Optional.of(new DefaultPackaging(id, type, getPlugins(lifecycleMapping)));
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/SortedSetMultimap.java

        extends SetMultimap<K, V> {
      // Following Javadoc copied from Multimap.
    
      /**
       * Returns a collection view of all values associated with a key. If no mappings in the multimap
       * have the provided key, an empty collection is returned.
       *
       * <p>Changes to the returned collection will update the underlying multimap, and vice versa.
       *
       * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this method
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ArrayTable.java

        checkArgument(rowList.isEmpty() == columnList.isEmpty());
    
        /*
         * TODO(jlevy): Support only one of rowKey / columnKey being empty? If we
         * do, when columnKeys is empty but rowKeys isn't, rowKeyList() can contain
         * elements but rowKeySet() will be empty and containsRow() won't
         * acknowledge them.
         */
        rowKeyToIndex = Maps.indexMap(rowList);
        columnKeyToIndex = Maps.indexMap(columnList);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 13 19:39:21 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

       * consider using {@code collection.getFirst()} instead. Note that if the collection is empty,
       * {@code getFirst()} throws a {@code NoSuchElementException}, while this method returns the
       * default value.
       *
       * @param defaultValue the default value to return if the iterable is empty
       * @return the first element of {@code iterable} or the default value
       * @since 7.0
       */
      @ParametricNullness
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RequestLine.kt

        request: Request,
        proxyType: Proxy.Type,
      ): Boolean = !request.isHttps && proxyType == Proxy.Type.HTTP
    
      /**
       * Returns the path to request, like the '/' in 'GET / HTTP/1.1'. Never empty, even if the request
       * URL is. Includes the query component if it exists.
       */
      fun requestPath(url: HttpUrl): String {
        val path = url.encodedPath
        val query = url.encodedQuery
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jun 17 00:47:36 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java

      public SampleHttpClient() {
        client = new OkHttpClient.Builder().build();
      }
    
      public void makeCall(HttpUrl url) throws IOException {
        try (Response response = client.newCall(new Request(url, Headers.EMPTY, "GET", null)).execute()) {
          System.out.println(response.body().string());
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jul 12 12:05:57 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/AbstractModelBuildingListener.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    /**
     * Provides a skeleton implementation for model building listeners. The methods of this class are empty.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class AbstractModelBuildingListener implements ModelBuildingListener {
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

    /**
     * Unit test for {@link SignedBytes}.
     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class SignedBytesTest extends TestCase {
      private static final byte[] EMPTY = {};
      private static final byte[] ARRAY1 = {(byte) 1};
    
      private static final byte LEAST = Byte.MIN_VALUE;
      private static final byte GREATEST = Byte.MAX_VALUE;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top