Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,308 for Sath (0.11 sec)

  1. cmd/data-usage_test.go

    			path:   "/dir1",
    			size:   1302010,
    			objs:   5,
    			oSizes: sizeHistogram{0: 1, 1: 1, 2: 2, 4: 1},
    		},
    		{
    			path:  "/dir1/dira",
    			isNil: true,
    		},
    		{
    			path:  "/nonexistying",
    			isNil: true,
    		},
    	}
    
    	for _, w := range want {
    		p := path.Join(bucket, w.path)
    		t.Run(p, func(t *testing.T) {
    			e := got.find(p)
    			if w.isNil {
    				if e != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. internal/lock/lock_nix.go

    			Op:   "open",
    			Path: path,
    			Err:  syscall.EINVAL,
    		}
    	}
    
    	f, err := os.OpenFile(path, flag|syscall.O_SYNC, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = syscall.Flock(int(f.Fd()), lockType); err != nil {
    		f.Close()
    		if err == syscall.EWOULDBLOCK {
    			err = ErrAlreadyLocked
    		}
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_files/test_tutorial001_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}
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            }
    
            static DeadLink forJavadoc(File file, String path) {
                return new DeadLink(file, "Missing Javadoc file for $path in ${file.name}" + (path.startsWith("javadoc") ? " (You may need to remove the leading `javadoc` path component)" : ""))
            }
    
            static DeadLink forMarkdownLink(File file, String link) {
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. cmd/namespace-lock_test.go

    	for i := 0; i < 10000; i++ {
    		nsLk := newNSLock(false)
    
    		// lk1; ref=1
    		if !nsLk.lock(ctx, "volume", "path", "source", "opsID", false, time.Second) {
    			t.Fatal("failed to acquire lock")
    		}
    
    		// lk2
    		lk2ch := make(chan struct{})
    		go func() {
    			defer close(lk2ch)
    			nsLk.lock(ctx, "volume", "path", "source", "opsID", false, 1*time.Millisecond)
    		}()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/static-files.md

    You can read more about this in the [Advanced User Guide](../advanced/index.md){.internal-link target=_blank}.
    
    ## Details
    
    The first `"/static"` refers to the sub-path this "sub-application" will be "mounted" on. So, any path that starts with `"/static"` will be handled by it.
    
    The `directory="static"` refers to the name of the directory that contains your static files.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. internal/config/etcd/help.go

    			Description: `namespace prefix to isolate tenants` + defaultHelpPostfix(PathPrefix),
    			Optional:    true,
    			Type:        "path",
    		},
    		config.HelpKV{
    			Key:         CoreDNSPath,
    			Description: `shared bucket DNS records` + defaultHelpPostfix(CoreDNSPath),
    			Optional:    true,
    			Type:        "path",
    		},
    		config.HelpKV{
    			Key:         ClientCert,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Apr 27 03:11:37 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  8. internal/config/dns/etcd_dns_test.go

    			t.Errorf("Test %d, expected %s, got %s", i, tc.out, x)
    		}
    	}
    }
    
    func TestPath(t *testing.T) {
    	for _, path := range []string{"mydns", "skydns"} {
    		result := msgPath("service.staging.skydns.local.", path)
    		if result != etcdPathSeparator+path+"/local/skydns/staging/service" {
    			t.Errorf("Failure to get domain's path with prefix: %s", result)
    		}
    	}
    }
    
    func TestUnPath(t *testing.T) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/env/crawler/resources/app.xml

    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<include path="convention.xml" />
    	<include path="lastaflute_core.xml"/>
    	<include path="fess.xml" />
    
    	<include path="crawler_es.xml" />
    	<include path="fess_thumbnail.xml" />
    	<include path="fess_ingest.xml" />
    
    	<component name="labelTypeHelper" class="org.codelibs.fess.helper.LabelTypeHelper">
    	</component>
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Apr 09 02:14:47 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. src/packaging/deb/init.d/fess

    	. "$DEFAULT"
    fi
    
    # Define other required variables
    PID_FILE="$PID_DIR/$NAME.pid"
    DAEMON=$FESS_HOME/bin/fess
    DAEMON_OPTS="-d -p $PID_FILE --default.path.conf=$CONF_DIR --default.path.home=$FESS_HOME --default.path.logs=$LOG_DIR --default.path.data=$DATA_DIR"
    
    export FESS_HEAP_SIZE
    export FESS_HEAP_NEWSIZE
    export FESS_DIRECT_SIZE
    export FESS_JAVA_OPTS
    export FESS_TEMP_PATH
    export FESS_LOG_PATH
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top