- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 187 for getSize (0.09 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) -
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/jcifs/SmbPipeHandle.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.8K 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) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java
scm.setDeveloperConnection(normalize(scm.getDeveloperConnection())); } DistributionManagement dist = model.getDistributionManagement(); if (dist != null) { Site site = dist.getSite(); if (site != null) { site.setUrl(normalize(site.getUrl())); } } } private String normalize(String url) { return urlNormalizer.normalize(url);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (1) -
src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js
is.meridian="AM"===this.meridian?"PM":"AM"},update:function(a){this.updateElement(),a||this.updateWidget(),this.$element.trigger({type:"changeTime.timepicker",time:{value:this.getTime(),hours:this.hour,minutes:this.minute,seconds:this.second,meridian:this.meridian}})},updateElement:function(){this.$element.val(this.getTime()).change()},updateFromElementVal:function(){this.setTime(this.$element.val())},updateWidget:function(){if(this.$widget!==!1){var a=this.hour,b=1===this.minute.toString().leng...
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/jcifs/smb/SmbPipeHandleImpl.java
return (T) this; } throw new ClassCastException(); } /** * {@inheritDoc} * * @see jcifs.SmbPipeHandle#getPipe() */ @Override public SmbNamedPipe getPipe () { return this.pipe; } @Override public SmbTreeHandleImpl ensureTreeConnected () throws CIFSException { if ( this.treeHandle == null ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Apr 13 17:05:22 UTC 2020 - 10.3K 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-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
org.eclipse.aether.artifact.Artifact pomArtifact = new SubArtifact(mainArtifact, "", "pom"); pomArtifact = pomArtifact.setFile(((ProjectArtifactMetadata) metadata).getFile()); request.addArtifact(pomArtifact); } else if (metadata instanceof SnapshotArtifactRepositoryMetadata || metadata instanceof ArtifactRepositoryMetadata) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K 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)