Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,097 for Files (0.04 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java

    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Jimfs;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link MoreFiles#fileTraverser()}.
     *
     * @author Jens Nyman
     */
    
    public class MoreFilesFileTraverserTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 09 19:30:52 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

     * under the License.
     */
    package org.apache.maven.model.v4;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.List;
    import java.util.concurrent.TimeUnit;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.model.InputSource;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/ACE.java

         * files the text is always 'This object only'.
         */
        public String getApplyToText() {
            switch (flags & (FLAGS_OBJECT_INHERIT | FLAGS_CONTAINER_INHERIT | FLAGS_INHERIT_ONLY)) {
                case 0x00:
                    return "This folder only";
                case 0x03:
                    return "This folder, subfolders and files";
                case 0x0B:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

         * @throws Exception
         */
        public void testToJarFilePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
            final URL url = new URL("jar:" + f.toURI().toURL() + "!/");
            final String root = new File("/").getCanonicalPath();
            assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py

    
    @needs_py39
    def test_post_file(tmp_path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    @needs_py39
    def test_post_upload_file(tmp_path, client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

                echo "Broken links found:"
                cat errors.txt
                rm errors.txt
                false
            fi
        done
    }
    
    @test "No duplicate files on Windows" {
        cat <<EOF
    Please rename files so there are no repeats. For example, README.md and
    Readme.md would be the same file on Windows. In this test, you would get a
    warning for "readme.md" because it makes everything lowercase. There are
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 14 18:47:44 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. .gitattributes

    # Treat all files in the Go repo as binary, with no git magic updating
    # line endings. This produces predictable results in different environments.
    #
    # Windows users contributing to Go will need to use a modern version
    # of git and editors capable of LF line endings.
    #
    # Windows .bat files are known to have multiple bugs when run with LF
    # endings, and so they are checked in with CRLF endings, with a test
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jun 08 15:31:43 UTC 2020
    - 639 bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/ClassPathTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.charset.StandardCharsets.US_ASCII;
    import static java.nio.file.Files.createDirectory;
    import static java.nio.file.Files.createFile;
    import static java.nio.file.Files.createSymbolicLink;
    import static java.nio.file.Files.createTempDirectory;
    import static java.util.logging.Level.WARNING;
    
    import com.google.common.base.Joiner;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. misc/ios/detect.go

    	lines := getLines(cmd)
    
    	var files []string
    	for _, line := range lines {
    		if len(line) == 0 {
    			continue
    		}
    		xmlLines := getLines(parseMobileProvision(string(line)))
    		matches := 0
    		for _, udid := range udids {
    			for _, xmlLine := range xmlLines {
    				if bytes.Contains(xmlLine, udid) {
    					matches++
    				}
    			}
    		}
    		if matches == len(udids) {
    			files = append(files, string(line))
    		}
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. licenses/gopkg.in/yaml.v3/LICENSE

    This project is covered by two different licenses: MIT and Apache.
    
    #### MIT License ####
    
    The following files were ported to Go from C files of libyaml, and thus
    are still covered by their original MIT license, with the additional
    copyright staring in 2011 when the project was ported over:
    
        apic.go emitterc.go parserc.go readerc.go scannerc.go
        writerc.go yamlh.go yamlprivateh.go
    
    Copyright (c) 2006-2010 Kirill Simonov
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Feb 28 19:48:10 UTC 2020
    - 2.1K bytes
    - Viewed (0)
Back to top