- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 6,743 for file (0.02 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java
body.dictId = dictId; validateApi(body, messages -> {}); return stemmerOverrideService.getStemmerOverrideFile(body.dictId) .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })) .orElseGet(() -> {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
fail("Should throw ResourceNotFoundRuntimeException for non-existent file"); } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) { // Expected behavior assertTrue(e.getMessage().contains("dir") && e.getMessage().contains("file.conf")); } } public void test_getClassesPath() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertEquals((byte) 0x00, dst[1]); // Null terminator for empty old file name assertEquals((byte) 0x04, dst[2]); // Second buffer format byte } /** * Test writeBytesWireFormat with special characters in file names */ @Test @DisplayName("Test writeBytesWireFormat with special characters in file names") public void testWriteBytesWireFormatSpecialCharacters() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
// Create a temporary file for testing Path tempFile = Files.createTempFile("test-thread-dump", ".txt"); try { ThreadDumpUtil.writeThreadDump(tempFile.toString()); // Verify the file was created and contains content assertTrue("Thread dump file should exist", Files.exists(tempFile)); assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
// Arrange & Act SmbFile file = new SmbFile(url, mockCifsContext); // Assert assertNotNull(file); assertEquals(mockCifsContext, file.getContext()); } @Test void testConstructorWithStringURL() throws MalformedURLException { // Arrange & Act SmbFile file = new SmbFile("smb://localhost/share/test.txt", mockCifsContext);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
val entries = classpath .split(File.pathSeparator.toRegex()) .dropLastWhile { it.isEmpty() } .toTypedArray() for (classPathEntry in entries) { deployFile(classPathEntry.toPath()) } } private fun RepositoryPlugin.deployFile(file: Path) { if (fileSystem.metadataOrNull(file)?.isRegularFile != true) return try { fileSystem.read(file) {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5K bytes - Viewed (0) -
cmd/storage-datatypes.go
File string `msg:"fl"` // File name as given in request. Exists bool `msg:"ex"` // Returns whether the file existed on disk. Error string `msg:"er,omitempty"` // Returns any error when reading. Data []byte `msg:"d"` // Contains all data of file. Modtime time.Time `msg:"m"` // Modtime of file on disk. }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
* Generates a thumbnail for the given ID and saves it to the output file. * @param thumbnailId The ID of the thumbnail to generate. * @param outputFile The file where the thumbnail will be saved. * @return True if thumbnail generation was successful, false otherwise. */ @Override public boolean generate(final String thumbnailId, final File outputFile) { if (logger.isDebugEnabled()) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Fri Jul 18 14:34:06 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertEquals(fileName, notifyInfo.getFileName()); } @ParameterizedTest @DisplayName("Test decode with various file names") @CsvSource({ "a.txt", "very_long_filename_with_many_characters_to_test_buffer_handling.docx", "file with spaces.pdf", "文件.txt", // Unicode filename "file-with-special-chars!@#$%^&().bin" }) void testDecodeWithVariousFileNames(String fileName) throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)