Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,544 for whereIs (0.3 sec)

  1. src/path/filepath/path_plan9.go

    	if path == "" {
    		return []string{}
    	}
    	return strings.Split(path, string(ListSeparator))
    }
    
    func abs(path string) (string, error) {
    	return unixAbs(path)
    }
    
    func join(elem []string) string {
    	// If there's a bug here, fix the logic in ./path_unix.go too.
    	for i, e := range elem {
    		if e != "" {
    			return Clean(strings.Join(elem[i:], string(Separator)))
    		}
    	}
    	return ""
    }
    
    func sameWord(a, b string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 926 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial008c.py

        return client
    
    
    def test_get_no_item(client: TestClient):
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    def test_get(client: TestClient):
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
        assert response.json() == "plumbus"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. pkg/config/mesh/kubemesh/watcher.go

    	c := configmapwatcher.NewController(client, namespace, name, func(cm *v1.ConfigMap) {
    		meshNetworks, err := ReadNetworksConfigMap(cm, "meshNetworks")
    		if err != nil {
    			// Keep the last known config in case there's a misconfiguration issue.
    			log.Errorf("failed to read meshNetworks config from ConfigMap: %v", err)
    			return
    		}
    		if meshNetworks != nil {
    			w.SetNetworks(meshNetworks)
    		}
    		if multiWatch {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 20:54:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. docs_src/response_model/tutorial003_05.py

    @app.get("/portal", response_model=None)
    async def get_portal(teleport: bool = False) -> Union[Response, dict]:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 405 bytes
    - Viewed (0)
  5. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/TimeFormatting.java

        }
    
        public static String formatDurationVeryTerse(long duration) {
            if (duration == 0) {
                return "0s";
            }
    
            StringBuilder result = new StringBuilder();
    
            // Whereas it doesn't make sense to pass negative values to this method,
            // the duration passed on call sited is often a result of some math, what is not guarantees positive-values-only.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/termlist.go

    func (xl termlist) isEmpty() bool {
    	// If there's a non-nil term, the entire list is not empty.
    	// If the termlist is in normal form, this requires at most
    	// one iteration.
    	for _, x := range xl {
    		if x != nil {
    			return false
    		}
    	}
    	return true
    }
    
    // isAll reports whether the termlist xl represents the set of all types.
    func (xl termlist) isAll() bool {
    	// If there's a 𝓤 term, the entire list is 𝓤.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 03 18:29:30 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial008c_an.py

        return client
    
    
    def test_get_no_item(client: TestClient):
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    def test_get(client: TestClient):
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
        assert response.json() == "plumbus"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingEnvMapTest.groovy

            }
    
            @Override
            protected Map<String, String> delegate() {
                // Groovy ends up calling get() to obtain innerMap if there's no explicit qualifier, causing stack overflow.
                return AccessTrackingEnvMapTest.this.innerMap
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/toolchain/umask_unix.go

    // sysWriteBits determines which bits to OR into the mode to make a directory writable.
    // It must be called when there are no other file system operations happening.
    func sysWriteBits() fs.FileMode {
    	// Read current umask. There's no way to read it without also setting it,
    	// so set it conservatively and then restore the original one.
    	m := syscall.Umask(0o777)
    	syscall.Umask(m)    // restore bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 15:44:08 UTC 2023
    - 896 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial008d.py

        return client
    
    
    def test_get_no_item(client: TestClient):
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    def test_get(client: TestClient):
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
        assert response.json() == "plumbus"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top