Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 6,449 for _return (0.08 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        return (ImmutableSortedSet<E>) RegularImmutableSortedSet.NATURAL_EMPTY_SET;
      }
    
      /** Returns an immutable sorted set containing a single element. */
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1) {
        return new RegularImmutableSortedSet<>(ImmutableList.of(e1), Ordering.natural());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. internal/pubsub/mask.go

    func MaskFromMaskable(m Maskable) Mask {
    	return Mask(m.Mask())
    }
    
    // Contains returns whether *all* flags in other is present in t.
    func (t Mask) Contains(other Mask) bool {
    	return t&other == other
    }
    
    // Overlaps returns whether *any* flags in t overlaps with other.
    func (t Mask) Overlaps(other Mask) bool {
    	return t&other != 0
    }
    
    // SingleType returns whether t has a single type set.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. 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));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

             * return value was <b>true</b>.
             *
             * @return the name of the last read property
             */
            public String getPropertyName() {
                return propertyName;
            }
    
            /**
             * Returns the value of the last read property. This method can be
             * called after <code>{@link #nextProperty()}</code> was invoked and
             * its return value was <b>true</b>.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. internal/http/request-recorder.go

    	return r.bytesRead
    }
    
    // Data returns the bytes that were recorded.
    func (r *RequestRecorder) Data() []byte {
    	// If body logging is enabled then we return the actual body
    	if r.LogBody {
    		return r.buf.Bytes()
    	}
    	// ... otherwise we return <BLOB> placeholder
    	return blobBody
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 12 21:37:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

              while (reader.hasNext()) {
                result += fromDer(reader)
              }
              return result
            }
          }
    
        return BasicDerAdapter(name, tagClass, tag, codec)
      }
    
      /** Returns an adapter that returns a set of values of this type. */
      fun asSetOf(): BasicDerAdapter<List<T>> {
        return asSequenceOf(
          name = "SET OF",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 17L,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/IoTestCase.java

          if (files != null) {
            for (File f : files) {
              if (!delete(f)) {
                return false;
              }
            }
          }
        }
    
        if (!file.delete()) {
          logger.log(Level.WARNING, "couldn't delete file: {0}", new Object[] {file});
          return false;
        }
    
        return true;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. internal/bucket/replication/datatypes.go

    	Failed StatusType = "FAILED"
    
    	// Replica - this is a replica.
    	Replica StatusType = "REPLICA"
    )
    
    // String returns string representation of status
    func (s StatusType) String() string {
    	return string(s)
    }
    
    // Empty returns true if this status is not set
    func (s StatusType) Empty() bool {
    	return string(s) == ""
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    	err = unwrapAll(err)
    	switch err {
    	case nil:
    		return checkPartSuccess
    	case errFileNotFound, errFileVersionNotFound:
    		return checkPartFileNotFound
    	case errFileCorrupt:
    		return checkPartFileCorrupt
    	case errVolumeNotFound:
    		return checkPartVolumeNotFound
    	case errDiskNotFound:
    		return checkPartDiskNotFound
    	default:
    		return checkPartUnknown
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

              block()
              return -1L
            }
          },
          delayNanos,
        )
      }
    
      /** Returns a latch that reaches 0 when the queue is next idle. */
      fun idleLatch(): CountDownLatch {
        taskRunner.lock.withLock {
          // If the queue is already idle, that's easy.
          if (activeTask == null && futureTasks.isEmpty()) {
            return CountDownLatch(0)
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top