Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 127 for fs (0.14 sec)

  1. src/archive/tar/tar_test.go

    			ModTime:  time.Unix(1360600852, 0),
    			Typeflag: TypeSymlink,
    		},
    		fm: 0777 | fs.ModeSymlink,
    	}, {
    		// character device node.
    		h: &Header{
    			Name:     "dev/null",
    			Mode:     0666,
    			Size:     0,
    			ModTime:  time.Unix(1360578951, 0),
    			Typeflag: TypeChar,
    		},
    		fm: 0666 | fs.ModeDevice | fs.ModeCharDevice,
    	}, {
    		// block device node.
    		h: &Header{
    			Name:     "dev/sda",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  2. src/archive/zip/writer_test.go

    	{
    		Name:   "setuid",
    		Data:   []byte("setuid file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeSetuid,
    	},
    	{
    		Name:   "setgid",
    		Data:   []byte("setgid file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeSetgid,
    	},
    	{
    		Name:   "symlink",
    		Data:   []byte("../link/target"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeSymlink,
    	},
    	{
    		Name:   "device",
    		Data:   []byte("device file"),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  3. cmd/benchmark-utils_test.go

    			}
    		}
    	}
    	// Benchmark ends here. Stop timer.
    	b.StopTimer()
    }
    
    // creates Erasure/FS backend setup, obtains the object layer and calls the runPutObjectPartBenchmark function.
    func benchmarkPutObjectPart(b *testing.B, instanceType string, objSize int) {
    	// create a temp Erasure/FS backend.
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/os/62484.md

    The [CopyFS] function copies an [io/fs.FS] into the local filesystem....
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 70 bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/podcgroupns_linux.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    	"syscall"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	if stat, ok := fi.Sys().(*syscall.Stat_t); ok {
    		return stat.Ino, nil
    	}
    	return 0, fmt.Errorf("unable to get inode")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 814 bytes
    - Viewed (0)
  6. cmd/object_api_suite_test.go

    func (r *testOneByteReadNoEOF) Read(p []byte) (n int, err error) {
    	if r.eof {
    		return 0, io.EOF
    	}
    	n = copy(p, r.data)
    	r.eof = true
    	return n, nil
    }
    
    // Wrapper for calling testMakeBucket for both Erasure and FS.
    func TestMakeBucket(t *testing.T) {
    	ExecObjectLayerTest(t, testMakeBucket)
    }
    
    // Tests validate bucket creation.
    func testMakeBucket(obj ObjectLayer, instanceType string, t TestErrHandler) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  7. api/next/50102.txt

    pkg archive/tar, type FileInfoNames interface, IsDir() bool #50102
    pkg archive/tar, type FileInfoNames interface, ModTime() time.Time #50102
    pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102
    pkg archive/tar, type FileInfoNames interface, Name() string #50102
    pkg archive/tar, type FileInfoNames interface, Size() int64 #50102
    pkg archive/tar, type FileInfoNames interface, Sys() interface{} #50102
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 686 bytes
    - Viewed (0)
  8. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

            }
        }
    
        @Test
        fun `fail build if leftover file found and test passes`() {
            val result = run(":successful-test-with-leftover:test", "--no-watch-fs").buildAndFail()
            assertEquals(TaskOutcome.SUCCESS, result.task(":successful-test-with-leftover:test")!!.outcome)
    
            assertEquals(1, StringUtils.countMatches(result.output, "Found non-empty test files dir"))
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 14 12:35:52 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

            URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI());
            try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) {
                Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE);
                if (Files.exists(upgradedPropertiesJson)) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Nov 22 22:15:41 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/386enc.s

    	MOVL AX, CR0 // 0f22c0
    	MOVL DX, CR0 // 0f22c2
    	MOVL DI, CR4 // 0f22e7
    	MOVL DR0, AX // 0f21c0
    	MOVL DR6, DX // 0f21f2
    	MOVL DR7, SI // 0f21fe
    	// Test other movtab entries.
    	PUSHL SS // 16
    	PUSHL FS // 0fa0
    	POPL FS  // 0fa1
    	POPL SS  // 17
    
    	RDPID AX                                // f30fc7f8
    
    	// End of tests.
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 1.2K bytes
    - Viewed (0)
Back to top