- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 6,774 for five (0.05 sec)
-
src/archive/zip/reader_test.go
} _, err = r.Open("test.txt") if err != nil { t.Errorf("Error reading file: %v", err) } if len(r.File) != 1 { t.Fatalf("No entries in the file list") } if r.File[0].Name != "../test.txt" { t.Errorf("Unexpected entry name: %s", r.File[0].Name) } if _, err := r.File[0].Open(); err != nil { t.Errorf("Error opening file: %v", err) } } func TestOpenReaderInsecurePath(t *testing.T) {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/InvalidProjectModelException.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 Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
SmbFile file = mock(SmbFile.class); when(file.getAttributes()).thenReturn(SmbFile.ATTR_NORMAL); assertTrue(filter.accept(file), "Attributes match should be accepted"); verify(file, times(1)).getAttributes(); } @Test public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception { SmbFile file = mock(SmbFile.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
if ("file".equals(resource.getProtocol())) { final File directory = new File(resource.getFile()); if (directory.exists() && directory.isDirectory()) { final File[] files = directory.listFiles(File::isDirectory); if (files != null) { for (final File file : files) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
} /** * Gets the output content from the converted file. * * @param outputFile the converted output file * @param outExt the output file extension * @return the extracted text content * @throws ExtractException if an error occurs while reading the file */ protected String getOutputContent(final File outputFile, final String outExt) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
} } @Test public void testFileBasedCacheCloseNonExistentFile() { tempFile = new File(Curl.tmpDir, "non-existent-file.tmp"); assertFalse(tempFile.exists()); ContentCache cache = new ContentCache(tempFile); // Should throw IOException when file doesn't exist try { cache.close();
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
this(file, 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, false); } SmbFileInputStream(final SmbFile file, final int openFlags, final int access, final int sharing, final boolean unshared) throws SmbException { this.file = file; this.unsharedFile = unshared; this.openFlags = openFlags; this.access = access;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/StopwordsService.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SynonymService.java
return getSynonymFile(dictId).map(file -> file.get(id).get()); } /** * Stores a synonym item in the specified dictionary. * * @param dictId The ID of the dictionary. * @param synonymItem The synonym item to store. */ public void store(final String dictId, final SynonymItem synonymItem) { getSynonymFile(dictId).ifPresent(file -> { if (synonymItem.getId() == 0) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.5K bytes - Viewed (0)