- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,299 for throws (0.24 sec)
-
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InterningStringSerializer.java
this.stringInterner = stringInterner; } @Override public String read(Decoder decoder) throws Exception { return stringInterner.intern(decoder.readString()); } @Override public void write(Encoder encoder, String value) throws Exception { encoder.writeString(value); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/StdInStream.java
private boolean waiting; private boolean closed; public StdInStream(OutputEventListener eventDispatch) { this.eventDispatch = eventDispatch; } @Override public int read() throws IOException { synchronized (lock) { waitForContent(); if (readPos != buffer.length) { return buffer[readPos++] & 0xFF; } else { // Closed
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/IntQuestionPromptEventSerializer.java
public void write(Encoder encoder, IntQuestionPromptEvent value) throws Exception { encoder.writeLong(value.getTimestamp()); encoder.writeString(value.getQuestion()); encoder.writeSmallInt(value.getMinValue()); encoder.writeSmallInt(value.getDefaultValue()); } @Override public IntQuestionPromptEvent read(Decoder decoder) throws Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 1.5K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
protected String getProjectsDirectory() { return "src/test/projects/project-dependencies-resolver"; } /* @Test public void testExclusionsInDependencies() throws Exception { MavenSession session = createMavenSession( null ); MavenProject project = session.getCurrentProject(); Exclusion exclusion = new Exclusion();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskExecutionResultCrossVersionSpec.groovy
} } @TargetGradleVersion('>=3.0 <5.1') def "throws UnsupportedMethodException for execution reasons when target version does not support it"() { when: runBuild('tasks') and: taskSuccessResult(':tasks').executionReasons then: def e = thrown(UnsupportedMethodException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
Collector.Characteristics.UNORDERED); /** * A collector that converts a stream of zero or one elements to an {@code Optional}. * * @throws IllegalArgumentException if the stream consists of two or more elements. * @throws NullPointerException if any element in the stream is {@code null}. * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/DefaultBuildController.java
@Deprecated public BuildResult<?> getBuildModel() throws BuildExceptionVersion1 { assertCanQuery(); return new ProviderBuildResult<Object>(controller.getConfiguredModel()); } /** * This is used by consumers 1.8-rc-1 to 4.3 */ @Override @Deprecated public BuildResult<?> getModel(Object target, ModelIdentifier modelIdentifier) throws BuildExceptionVersion1, InternalUnsupportedModelException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 08:56:14 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/PosixJdk7FilePermissionHandler.java
@Override public int getUnixMode(File file) throws IOException { final PosixFileAttributes posixFileAttributes = Files.readAttributes(file.toPath(), PosixFileAttributes.class); return convertToInt(posixFileAttributes.permissions()); } @Override public void chmod(File f, int mode) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/SelectOptionPromptEventSerializer.java
public void write(Encoder encoder, SelectOptionPromptEvent value) throws Exception { encoder.writeLong(value.getTimestamp()); encoder.writeString(value.getQuestion()); optionsSerializer.write(encoder, value.getOptions()); encoder.writeSmallInt(value.getDefaultOption()); } @Override public SelectOptionPromptEvent read(Decoder decoder) throws Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerJvmMemoryInfoSerializer.java
public JvmMemoryStatus read(Decoder decoder) throws EOFException, Exception { long committedMemory = decoder.readLong(); long maxMemory = decoder.readLong(); return new JvmMemoryStatusSnapshot(maxMemory, committedMemory); } @Override public void write(Encoder encoder, JvmMemoryStatus jvmMemoryStatus) throws Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 2K bytes - Viewed (0)