- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 153 for setFile (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); final 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 08 21:20:23 UTC 2023 - 1.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
return project.getFile(); } // Get the matching artifact from the project Artifact projectArtifact = findMatchingArtifact(project, artifact); if (projectArtifact != null) { // If the artifact has been associated to a file, use it File packagedArtifactFile = projectArtifact.getFile();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
SuggestItem[] items = getPopularWordsItemSet2(); suggester.indexer().index(items); suggester.refresh(); PopularWordsResponse response = suggester.popularWords().setSize(2).execute().getResponse(); assertEquals(5, response.getTotal()); for (int i = 0; i < 5; i++) { assertEquals(2, response.getNum()); boolean find = false;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
assertArgumentNotNull("url", url); final String s = url.getFile(); return URLUtil.decode(s, "UTF8"); } /** * リソースのファイルを返します。 * * @param url * リソースのURL。{@literal null}であってはいけません * @return ファイル */ public static File getFile(final URL url) { assertArgumentNotNull("url", url);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.8K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js
":this.incrementMinute();break;case"second":this.incrementSecond();break;case"meridian":this.toggleMeridian()}this.setTime(this.getTime()),c.get(0).setSelectionRange(0,2);break;case 40:switch(b.preventDefault(),d){case"hour":this.decrementHour();break;case"minute":this.decrementMinute();break;case"second":this.decrementSecond();break;case"meridian":this.toggleMeridian()}this.setTime(this.getTime()),c.get(0).setSelectionRange(0,2)}},widgetKeyup:function(a){(65===a.which||77===a.which||80===a.whic...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 04:21:06 UTC 2020 - 18.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
if (scrollId == null) { final SearchRequestBuilder builder = client.prepareSearch().setIndices(indexName).setScroll(settings.getScrollTimeout()) .setQuery(queryBuilder).setSize(scrollSize); for (final SortBuilder<?> sortBuilder : sortList) { builder.addSort(sortBuilder); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/TransformationFailedException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.internal.transformation; /** * Exception that may be thrown by the {@link org.apache.maven.artifact.Artifact#getFile()} * implementation. */ public class TransformationFailedException extends RuntimeException { public TransformationFailedException(Throwable cause) { super(cause); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.1K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
} @Test void testGetFile() { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile); assertEquals(txtFile.getAbsoluteFile(), source.getFile()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/ftp-server-driver.go
_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0, minio.PutObjectOptions{ DisableContentSha256: true, }) return err } // GetFile implements ftpDriver func (driver *ftpDriver) GetFile(ctx *ftp.Context, objPath string, offset int64) (n int64, rc io.ReadCloser, err error) { stopFn := globalFtpMetrics.log(ctx, objPath) defer stopFn(n, err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/FacetQueryView.java
queryMap.values().stream().distinct().forEach(facetInfo::addQuery); } public String getTitle() { return title; } public void setTitle(final String title) { this.title = title; } public Map<String, String> getQueryMap() { return queryMap; } public void addQuery(final String key, final String query) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3K bytes - Viewed (0)