- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 873 for getTime (0.17 sec)
-
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(0, true); write(out, data, 0, 100, true); File file = out.getFile(); assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
} else if (state instanceof Blocker) { result = "running=[INTERRUPTED]"; } else if (state instanceof Thread) { // getName is final on Thread, no need to worry about exceptions result = "running=[RUNNING ON " + ((Thread) state).getName() + "]"; } else { result = "running=[NOT STARTED YET]"; } return result + ", " + toPendingString(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java
List<XmlNode> children = mojoDescriptor.getParameters().stream() .filter(p -> p.getDefaultValue() != null || p.getExpression() != null) .map(p -> XmlNode.newInstance( p.getName(), p.getExpression(), p.getDefaultValue() != null ? Collections.singletonMap("default-value", p.getDefaultValue())
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 11.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java
*/ private boolean isRequestedProjectCollected(MavenExecutionRequest request, List<MavenProject> projects) { return projects.stream().map(MavenProject::getFile).anyMatch(request.getPom()::equals); } /** * This method finds out whether collecting projects failed because of the following scenario:Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 9.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/ModelInheritanceAssembler.java
import org.apache.maven.model.Build; import org.apache.maven.model.Model; /** */ @Deprecated public interface ModelInheritanceAssembler { String ROLE = ModelInheritanceAssembler.class.getName(); void assembleModelInheritance(Model child, Model parent, String childPathAdjustment); void assembleModelInheritance(Model child, Model parent);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java
*/ String getRepositoryUrl(); /** * The path of the artifact relative to the repository's base URL. * * @return The path of the artifact, never {@code null}. */ String getName(); /** * Gets the full URL of the artifact. * * @return The full URL of the artifact, never {@code null}. */ String getUrl(); /** * The size of the artifact in bytes.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
info.creationTime = 1672531200000L; // 2023-01-01 info.lastWriteTime = 1672617600000L; // 2023-01-02 info.endOfFile = 1024; assertEquals("test.txt", info.getName()); assertEquals(SmbFile.TYPE_FILESYSTEM, info.getType()); assertEquals(SmbFile.ATTR_ARCHIVE, info.getAttributes()); assertEquals(1672531200000L, info.createTime());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
} @Override public void close() { closed.set(true); } boolean isClosed() { return closed.get(); } String getName() { return name; } } @Test @DisplayName("Test resource registration and tracking") void testResourceRegistration() { TestResource resource = new TestResource("test1");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/Java8Interface.java
import java.io.IOException; import java.util.function.Supplier; /** * An interface that uses Java 8 source features. */ public interface Java8Interface extends CombinedInterface, JavaInterface { default String getName() { try (Writer writer = new StringWriter()) { Supplier<String> methodReference = this::toString; Supplier<String> lambda = () -> this.toString(); } catch (IOException ignore) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbBasicFileInfo.java
* * @return file last access time */ long getLastAccessTime(); /** * Gets the file size in bytes. * * @return file size */ long getSize();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0)