OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Preconditions
(Results
426 - 450
of
1035
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/guava/guava/src/com/google/common/util/concurrent/
Striped.java
22
import com.google.common.base.
Preconditions
;
294
Preconditions
.checkArgument(stripes > 0, "Stripes must be positive");
318
Preconditions
.checkArgument(stripes <= Ints.MAX_POWER_OF_TWO, "Stripes must be <= 2^30)");
356
Preconditions
.checkElementIndex(index, size());
424
Preconditions
.checkElementIndex(index, size());
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
CronetClientStream.java
26
import com.google.common.base.
Preconditions
;
100
this.url =
Preconditions
.checkNotNull(url, "url");
101
this.userAgent =
Preconditions
.checkNotNull(userAgent, "userAgent");
102
this.statsTraceCtx =
Preconditions
.checkNotNull(statsTraceCtx, "statsTraceCtx");
103
this.executor =
Preconditions
.checkNotNull(executor, "executor");
104
this.headers =
Preconditions
.checkNotNull(headers, "headers");
105
this.transport =
Preconditions
.checkNotNull(transport, "transport");
106
this.startCallback =
Preconditions
.checkNotNull(startCallback, "startCallback");
233
this.lock =
Preconditions
.checkNotNull(lock, "lock");
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
ChannelzProtoUtil.java
19
import com.google.common.base.
Preconditions
;
146
Preconditions
.checkNotNull(security);
147
Preconditions
.checkState(
192
Preconditions
.checkNotNull(address);
266
Preconditions
.checkNotNull(name);
319
Preconditions
.checkNotNull(name);
320
Preconditions
.checkNotNull(value);
325
Preconditions
.checkNotNull(options);
416
Preconditions
.checkState(stats.sockets.isEmpty() || stats.subchannels.isEmpty());
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
ExecutionListBenchmark.java
27
import com.google.common.base.
Preconditions
;
282
Preconditions
.checkNotNull(runnable, "Runnable was null.");
283
Preconditions
.checkNotNull(executor, "Executor was null.");
343
Preconditions
.checkNotNull(runnable, "Runnable was null.");
344
Preconditions
.checkNotNull(executor, "Executor was null.");
406
Preconditions
.checkNotNull(runnable, "Runnable was null.");
407
Preconditions
.checkNotNull(executor, "Executor was null.");
513
Preconditions
.checkNotNull(runnable, "Runnable was null.");
514
Preconditions
.checkNotNull(executor, "Executor was null.");
/external/caliper/caliper/src/main/java/com/google/caliper/model/
BenchmarkSpec.java
20
import static com.google.common.base.
Preconditions
.checkNotNull;
21
import static com.google.common.base.
Preconditions
.checkState;
Trial.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
20
import static com.google.common.base.
Preconditions
.checkState;
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
KeyboardId.java
3
import static com.google.common.base.
Preconditions
.checkArgument;
4
import static com.google.common.base.
Preconditions
.checkNotNull;
KeyboardIdMap.java
3
import static com.google.common.base.
Preconditions
.checkArgument;
4
import static com.google.common.base.
Preconditions
.checkNotNull;
ModifierKeyCombination.java
3
import static com.google.common.base.
Preconditions
.checkArgument;
4
import static com.google.common.base.
Preconditions
.checkNotNull;
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ResolvedBindings.java
27
import static com.google.common.base.
Preconditions
.checkArgument;
28
import static com.google.common.base.
Preconditions
.checkState;
/external/desugar/java/com/google/devtools/common/options/
OptionsParser.java
18
import com.google.common.base.
Preconditions
;
502
Preconditions
.checkNotNull(predicate, "Missing predicate.");
503
Preconditions
.checkNotNull(visitor, "Missing visitor.");
612
Preconditions
.checkNotNull(priority);
613
Preconditions
.checkArgument(priority != OptionPriority.PriorityCategory.DEFAULT);
634
Preconditions
.checkNotNull(
636
Preconditions
.checkArgument(
[
all
...]
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
AltsProtocolNegotiator.java
20
import com.google.common.base.
Preconditions
;
107
Preconditions
.checkNotNull(altsContext);
TsiFrameHandler.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
20
import static com.google.common.base.
Preconditions
.checkState;
/external/grpc-grpc-java/auth/src/main/java/io/grpc/auth/
ClientAuthInterceptor.java
20
import com.google.common.base.
Preconditions
;
56
this.credentials =
Preconditions
.checkNotNull(credentials, "credentials");
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
AbstractStream.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
20
import static com.google.common.base.
Preconditions
.checkState;
DnsNameResolver.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
22
import com.google.common.base.
Preconditions
;
154
Preconditions
.checkArgument(nameUri.getHost() != null, "Invalid DNS name: %s", name);
155
authority =
Preconditions
.checkNotNull(nameUri.getAuthority(),
170
this.stopwatch =
Preconditions
.checkNotNull(stopwatch, "stopwatch");
181
Preconditions
.checkState(this.listener == null, "already started");
183
this.listener =
Preconditions
.checkNotNull(listener, "listener");
189
Preconditions
.checkState(listener != null, "not started");
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
Utils.java
19
import com.google.common.base.
Preconditions
;
68
Preconditions
.checkArgument(spec.isTls(), "plaintext ConnectionSpec is not accepted");
/external/grpc-grpc-java/protobuf/src/main/java/io/grpc/protobuf/
StatusProto.java
19
import static com.google.common.base.
Preconditions
.checkArgument;
20
import static com.google.common.base.
Preconditions
.checkNotNull;
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
GrpcCleanupRule.java
19
import static com.google.common.base.
Preconditions
.checkArgument;
20
import static com.google.common.base.
Preconditions
.checkNotNull;
/external/guava/guava/src/com/google/common/base/
Ascii.java
19
import static com.google.common.base.
Preconditions
.checkArgument;
20
import static com.google.common.base.
Preconditions
.checkNotNull;
Preconditions.java
23
* correctly (whether its <i>
preconditions
</i> have been met). These methods generally accept a
26
* {@code null}) is passed instead, the {@code
Preconditions
} method throws an unchecked exception,
36
*
Preconditions
.checkArgument(value >= 0.0, "negative value: %s", value);
61
* <h3>Other types of
preconditions
</h3>
67
* <h3>Non-
preconditions
</h3>
84
* <p>In {@code
Preconditions
} error message template strings, only the {@code "%s"} specifier is
91
*
Preconditions
}</a>.
97
public final class
Preconditions
{
98
private
Preconditions
() {}
Strings.java
19
import static com.google.common.base.
Preconditions
.checkArgument;
20
import static com.google.common.base.
Preconditions
.checkNotNull;
/external/guava/guava/src/com/google/common/collect/
ContiguousSet.java
17
import static com.google.common.base.
Preconditions
.checkArgument;
18
import static com.google.common.base.
Preconditions
.checkNotNull;
EnumBiMap.java
19
import static com.google.common.base.
Preconditions
.checkArgument;
20
import static com.google.common.base.
Preconditions
.checkNotNull;
/external/guava/guava/src/com/google/common/hash/
AbstractNonStreamingHashFunction.java
19
import com.google.common.base.
Preconditions
;
40
Preconditions
.checkArgument(expectedInputSize >= 0);
Completed in 361 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>