Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 8,052 for return (0.24 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        T value = (T) ArbitraryInstances.get(rawType);
        if (value != null) {
          return value;
        }
        if (rawType.isInterface()) {
          return new SerializableDummyProxy(this).newProxy(type);
        }
        return null;
      }
    
      private static <T> T createInstance(Invokable<?, ? extends T> factory, List<?> args)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. cmd/notification.go

    	if g != nil {
    		g.retryCount = retryCount
    	}
    	return g
    }
    
    // Wait blocks until all function calls from the Go method have returned, then
    // returns the slice of errors from all function calls.
    func (g *NotificationGroup) Wait() []NotificationPeerErr {
    	g.workers.Wait()
    	return g.errs
    }
    
    // Go calls the given function in a new goroutine.
    //
    // The first call to return a non-nil error will be
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  3. internal/etag/reader.go

    var _ Tagger = wrapReader{} // compiler check
    
    // ETag returns the ETag of the underlying Tagger.
    func (r wrapReader) ETag() ETag {
    	if r.Tagger == nil {
    		return nil
    	}
    	return r.Tagger.ETag()
    }
    
    // Wrap returns an io.Reader that reads from the wrapped
    // io.Reader and implements the Tagger interaface.
    //
    // If content implements Tagger then the returned Reader
    // returns ETag of the content. Otherwise, it returns
    // nil as ETag.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. internal/kms/kes.go

    	return Status{
    		Name:       "KES",
    		Endpoints:  endpoints,
    		DefaultKey: c.defaultKeyID,
    		Details:    st,
    	}, nil
    }
    
    // IsLocal returns true if the KMS is a local implementation
    func (c *kesClient) IsLocal() bool {
    	return env.IsSet(EnvKMSSecretKey)
    }
    
    // List returns an array of local KMS Names
    func (c *kesClient) List() []kes.KeyInfo {
    	var kmsSecret []kes.KeyInfo
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

          }
          if (eqCount == 0) break // We peeked a scheme name.
          if (eqCount > 1) return // Unexpected '=' characters.
          if (skipCommasAndWhitespace()) return // Unexpected ','.
    
          val parameterValue =
            when {
              startsWith('"'.code.toByte()) -> readQuotedString()
              else -> readToken()
            } ?: return // Expected a value.
    
          val replaced = parameters.put(peek, parameterValue)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractBiMap.java

        inverse = forward;
      }
    
      @Override
      protected Map<K, V> delegate() {
        return delegate;
      }
    
      /** Returns its input, or throws an exception if this is not a valid key. */
      @CanIgnoreReturnValue
      @ParametricNullness
      K checkKey(@ParametricNullness K key) {
        return key;
      }
    
      /** Returns its input, or throws an exception if this is not a valid value. */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         * @return The default domain.
         */
        public static String getDefaultDomain() {
            return DEFAULT_DOMAIN;
        }
    
        /**
         * Returns the default user from the current environment.
         *
         * @return The default user.
         */
        public static String getDefaultUser() {
            return DEFAULT_USER;
        }
    
        /**
         * Returns the default password from the current environment.
         *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMultiset.java

        }
        return result;
      }
    
      @WeakOuter
      class EntrySet extends Multisets.EntrySet<E> {
        @Override
        Multiset<E> multiset() {
          return AbstractMultiset.this;
        }
    
        @Override
        public Iterator<Entry<E>> iterator() {
          return entryIterator();
        }
    
        @Override
        public int size() {
          return distinctElements();
        }
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteStreams.java

          total += read;
        }
        return total;
      }
    
      /**
       * Returns a new {@link ByteArrayDataInput} instance to read from the {@code bytes} array from the
       * beginning.
       */
      public static ByteArrayDataInput newDataInput(byte[] bytes) {
        return newDataInput(new ByteArrayInputStream(bytes));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

          checkElementIndex(index, size()); // for GWT
          return sequence.charAt(index);
        }
    
        @Override
        public int size() {
          return sequence.length();
        }
      }
    
      /**
       * Returns a reversed view of the specified list. For example, {@code
       * Lists.reverse(Arrays.asList(1, 2, 3))} returns a list containing {@code 3, 2, 1}. The returned
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top