Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 6,271 for _return (0.06 sec)

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

         * ```
         */
        @JvmStatic
        @ExperimentalOkHttpApi
        fun RequestBody.gzip(): RequestBody {
          return object : RequestBody() {
            override fun contentType(): MediaType? {
              return ******@****.***tType()
            }
    
            override fun contentLength(): Long {
              return -1 // We don't know the compressed length in advance!
            }
    
            @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

        }
    
        private int reverseIndex(int index) {
          return (size() - 1) - index;
        }
    
        private int reversePosition(int index) {
          return size() - index;
        }
    
        @Override
        public ImmutableList<E> reverse() {
          return forwardList;
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          return forwardList.contains(object);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                }
            }
            return flags;
        }
    
        /**
         * Returns the default domain from the current environment.
         *
         * @return A <code>String</code> containing the domain.
         */
        public static String getDefaultDomain() {
            return DEFAULT_DOMAIN;
        }
    
        public static byte[] getDefaultTargetInformation() {
            return DEFAULT_TARGET_INFORMATION;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  4. docs/sts/client_grants/sts_element.py

            """Initialize STSElement from name and XML string data.
    
            :param name: Name for XML data. Used in XML errors.
            :param data: string data to be parsed.
            :return: Returns an STSElement.
            """
            try:
                return cls(root_name, cElementTree.fromstring(data))
            except _ETREE_EXCEPTIONS as error:
                raise InvalidXMLError(
                    '"{}" XML is not parsable. Message: {}'.format(
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
              Buffer().writeInt(it.toInt()).readByteArray(),
            )
          }
      }
    
      /** Allocates and returns `count` fake IPv6 addresses like [::ff00:64, ::ff00:65].  */
      fun allocateIpv6(count: Int): List<InetAddress> {
        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/EndpointPair.java

          }
    
          EndpointPair<?> other = (EndpointPair<?>) obj;
          if (isOrdered() != other.isOrdered()) {
            return false;
          }
    
          return source().equals(other.source()) && target().equals(other.target());
        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(source(), target());
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  7. internal/logger/target/kafka/kafka.go

    	if !h.kconfig.Enabled {
    		return nil
    	}
    	if err := h.validate(); err != nil {
    		return err
    	}
    	if h.kconfig.QueueDir != "" {
    		if err := h.initQueueStoreOnce.DoWithContext(ctx, h.initQueueStore); err != nil {
    			return err
    		}
    		return h.initKafkaOnce.Do(h.init)
    	}
    	if err := h.init(); err != nil {
    		return err
    	}
    	go h.startKafkaLogger()
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. cmd/bucket-listobjects-handlers.go

    	if maxKeys < 0 {
    		return ErrInvalidMaxKeys
    	}
    
    	if encodingType != "" {
    		// AWS S3 spec only supports 'url' encoding type
    		if !strings.EqualFold(encodingType, "url") {
    			return ErrInvalidEncodingMethod
    		}
    	}
    
    	if !IsValidObjectPrefix(prefix) {
    		return ErrInvalidObjectName
    	}
    
    	if marker != "" && !HasPrefix(marker, prefix) {
    		return ErrNotImplemented
    	}
    
    	return ErrNone
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Platform.java

      static MapMaker tryWeakKeys(MapMaker mapMaker) {
        return mapMaker.weakKeys();
      }
    
      static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) {
        return e.getDeclaringClass();
      }
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    
      static int reduceExponentIfGwt(int exponent) {
        return exponent;
      }
    
      private Platform() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Range.java

      Cut<C> lowerBound() {
        return lowerBound;
      }
    
      Cut<C> upperBound() {
        return upperBound;
      }
    
      Object readResolve() {
        if (this.equals(ALL)) {
          return all();
        } else {
          return this;
        }
      }
    
      @SuppressWarnings("unchecked") // this method may throw CCE
      static int compareOrThrow(Comparable left, Comparable right) {
        return left.compareTo(right);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top