Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 2,870 for file1 (0.34 sec)

  1. 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)
  2. src/main/java/org/codelibs/curl/io/ContentCache.java

         *
         * @param file the file containing the content
         */
        public ContentCache(final File file) {
            this.data = null;
            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
            }
        }
    
        /**
         * Returns an InputStream to read the content from the cache.
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            req.threshold(0); // always create tmp file
    
            // ## Act ##
            long before = countTmpFiles();
            logger.info("Before request. Number of temp files: " + before);
            req.execute(res -> {
                logger.info("Processing request. Number of temp files: " + countTmpFiles());
            }, e -> {});
            long after = countTmpFiles();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.29.md

    all` or just `kubeadm init` will now generate the new `super-admin.conf` file. The cluster admin can then decide to keep the file present on a node host or move it to a safe location. `kubadm certs renew` will renew the certificate in `super-admin.conf` to one year if the file exists; if it does not exist a "MISSING" note will be printed. `kubeadm upgrade apply` for this release will migrate this particular node to the two file setup. Subsequent kubeadm releases will continue to optionally renew the...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Mar 12 00:36:01 UTC 2025
    - 429.6K bytes
    - Viewed (1)
  5. CHANGELOG/CHANGELOG-1.12.md

    * fixes a regression in kube-scheduler to properly load client connection information from a `--config` file that references a kubeconfig file ([#65507](https://github.com/kubernetes/kubernetes/pull/65507), [@liggitt](https://github.com/liggitt))
    * Fixed cleanup of CSI metadata files. ([#65323](https://github.com/kubernetes/kubernetes/pull/65323), [@jsafrane](https://github.com/jsafrane))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 293.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         */
        protected ClassTraversalUtil() {
        }
    
        /** The file extension for class files. */
        protected static final String CLASS_SUFFIX = ".class";
    
        /** The file extension for WAR files. */
        protected static final String WAR_FILE_EXTENSION = ".war";
    
        /** The entry prefix for class files inside a WAR file. */
        protected static final String WEB_INF_CLASSES_PATH = "WEB-INF/classes/";
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. 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 (0)
  8. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

    import static org.junit.Assert.fail;
    
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    
    import org.codelibs.curl.Curl;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Test class for ContentCache.
     * Tests memory-based and file-based content caching.
     */
    public class ContentCacheTest {
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/api/main_test.go

    	filenames := append(append([]string{}, info.GoFiles...), info.CgoFiles...)
    
    	// Parse package files.
    	var files []*ast.File
    	for _, file := range filenames {
    		f, err := w.parseFile(dir, file)
    		if err != nil {
    			log.Fatalf("error parsing package %s: %s", name, err)
    		}
    		files = append(files, f)
    	}
    
    	// Type-check package files.
    	var sizes types.Sizes
    	if w.context != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top