Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,336 for leader (0.1 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt

        }
    
        companion object {
    
            private
            fun updateReleasedVersionFile(releasedVersionsFile: File, currentReleasedVersion: ReleasedVersion) {
                val releasedVersions = releasedVersionsFile.reader().use {
                    Gson().fromJson(it, ReleasedVersions::class.java)
                }
    
                val newReleasedVersions = updateReleasedVersions(currentReleasedVersion, releasedVersions)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret_test.go

    	}
    	objs, err := manifest.ParseMultiple(yaml)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	mustFindObject(t, objs, "istio-reader-service-account", "ServiceAccount")
    	mustFindObject(t, objs, "istio-reader-clusterrole-istio-system", "ClusterRole")
    	mustFindObject(t, objs, "istio-reader-clusterrole-istio-system", "ClusterRoleBinding")
    }
    
    func mustFindObject(t test.Failer, objs []manifest.Manifest, name, kind string) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. internal/s3select/jstream/scanner_test.go

    	return &mockReader{0, data, failAfter}
    }
    
    func (r *mockReader) Read(p []byte) (n int, err error) {
    	if r.pos >= r.failAfter {
    		return 0, fmt.Errorf("intentionally unexpected reader error")
    	}
    	r.pos++
    	p[0] = r.mockData
    	return 1, nil
    }
    
    func TestScannerFailure(t *testing.T) {
    	var (
    		i         int
    		failAfter = 900
    		mockData  = byte(32)
    	)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/security/simple-oauth2.md

    ```Python hl_lines="55-64  67-70  88"
    {!> ../../docs_src/security/tutorial003_py310.py!}
    ```
    
    ////
    
    /// info
    
    ๐ŸŒ– ๐ŸŽš `WWW-Authenticate` โฎ๏ธ ๐Ÿ’ฒ `Bearer` ๐Ÿ‘ฅ ๐Ÿ›ฌ ๐Ÿ“ฅ ๐Ÿ• ๐Ÿ”Œ.
    
    ๐Ÿ™† ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” (โŒ) ๐Ÿ‘” ๐Ÿ“Ÿ 4๏ธโƒฃ0๏ธโƒฃ1๏ธโƒฃ "โ›”" ๐Ÿค” ๐Ÿ“จ `WWW-Authenticate` ๐ŸŽš.
    
    ๐Ÿ’ผ ๐Ÿ“จ ๐Ÿค (๐Ÿ‘† ๐Ÿ’ผ), ๐Ÿ’ฒ ๐Ÿ‘ˆ ๐ŸŽš ๐Ÿ”œ `Bearer`.
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿค™ ๐Ÿšถ ๐Ÿ‘ˆ โž• ๐ŸŽš & โšซ๏ธ ๐Ÿ”œ ๐Ÿ‘ท.
    
    โœ‹๏ธ โšซ๏ธ ๐Ÿšš ๐Ÿ“ฅ ๐Ÿ› ๏ธ โฎ๏ธ ๐Ÿ”ง.
    
    , ๐Ÿ“ค 5๏ธโƒฃ๐Ÿ“† ๐Ÿงฐ ๐Ÿ‘ˆ โŒ› & โš™๏ธ โšซ๏ธ (๐Ÿ”œ โš–๏ธ ๐Ÿ”ฎ) & ๐Ÿ‘ˆ ๐Ÿ’ช โš  ๐Ÿ‘† โš–๏ธ ๐Ÿ‘† ๐Ÿ‘ฉโ€๐Ÿ’ป, ๐Ÿ”œ โš–๏ธ ๐Ÿ”ฎ.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/schema-extra-example.md

    ```Python hl_lines="4  10-13"
    {!> ../../docs_src/schema_extra_example/tutorial002.py!}
    ```
    
    ////
    
    ## JSON Schema์—์„œ์˜ `examples` - OpenAPI
    
    ์ด๋“ค ์ค‘์—์„œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    **OpenAPI**์˜ **JSON ์Šคํ‚ค๋งˆ**์— ์ถ”๊ฐ€๋  ๋ถ€๊ฐ€์ ์ธ ์ •๋ณด๋ฅผ ํฌํ•จํ•œ `examples` ๋ชจ์Œ์„ ์„ ์–ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ### `examples`๋ฅผ ํฌํ•จํ•œ `Body`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. istioctl/pkg/analyze/analyze.go

    				return nil, err
    			}
    			readers = append(readers, dirReaders...)
    		} else {
    			if !isValidFile(f) {
    				fmt.Fprintf(cmd.ErrOrStderr(), "Skipping file %v, recognized file extensions are: %v\n", f, fileExtensions)
    				continue
    			}
    			rs, err := gatherFile(f)
    			if err != nil {
    				return nil, err
    			}
    			readers = append(readers, rs)
    		}
    	}
    	return readers, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. tests/test_security_oauth2_password_bearer_optional.py

    
    def test_token():
        response = client.get("/items", headers={"Authorization": "Bearer testtoken"})
        assert response.status_code == 200, response.text
        assert response.json() == {"token": "testtoken"}
    
    
    def test_incorrect_token():
        response = client.get("/items", headers={"Authorization": "Notexistent testtoken"})
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/response-directly.md

    Sie kรถnnen jedoch direkt eine `JSONResponse` von Ihren *Pfadoperationen* zurรผckgeben.
    
    Das kann beispielsweise nรผtzlich sein, um benutzerdefinierte Header oder Cookies zurรผckzugeben.
    
    ## Eine `Response` zurรผckgeben
    
    Tatsรคchlich kรถnnen Sie jede `Response` oder jede Unterklasse davon zurรผckgeben.
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/archive/tar/stat_unix.go

    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    	h.Uid = int(sys.Uid)
    	h.Gid = int(sys.Gid)
    	if doNameLookups {
    		// Best effort at populating Uname and Gname.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/FormBody.kt

       * do double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
      private fun writeOrCountBytes(
        sink: BufferedSink?,
        countBytes: Boolean,
      ): Long {
        var byteCount = 0L
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top