Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 137 for Pred (0.06 sec)

  1. cmd/admin-handlers-site-replication.go

    func (a adminAPIHandlers) SiteReplicationAdd(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.SiteReplicationAddAction)
    	if objectAPI == nil {
    		return
    	}
    
    	var sites []madmin.PeerSite
    	if err := parseJSONBody(ctx, r.Body, &sites, cred.SecretKey); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. cmd/metrics.go

    			return
    		}
    
    		cred := auth.Credentials{
    			AccessKey: claims.AccessKey,
    			Claims:    claims.Map(),
    			Groups:    groups,
    		}
    
    		// For authenticated users apply IAM policy.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PrometheusAdminAction,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. docs_src/extra_models/tutorial004_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str
    
    
    items = [
        {"name": "Foo", "description": "There comes my hero"},
        {"name": "Red", "description": "It's my aeroplane"},
    ]
    
    
    @app.get("/items/", response_model=list[Item])
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 356 bytes
    - Viewed (0)
  4. internal/logger/audit.go

    			timeToResponse = time.Now().UTC().Sub(tc.ResponseRecorder.StartTime)
    			timeToFirstByte = tc.ResponseRecorder.TTFB()
    		}
    
    		entry.AccessKey = reqInfo.Cred.AccessKey
    		entry.ParentUser = reqInfo.Cred.ParentUser
    
    		entry.API.Name = reqInfo.API
    		entry.API.Bucket = reqInfo.BucketName
    		entry.API.Object = reqInfo.ObjectName
    		entry.API.Objects = make([]audit.ObjectVersion, 0, len(reqInfo.Objects))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py

        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Wrestlers", "size": None}
    
    
    @needs_py39
    def test_create(client: TestClient):
        response = client.put("/items/red", json={"name": "Chillies"})
        assert response.status_code == 201, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 737 bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        /**
         * <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#Colors">ANSI 8 colors</a> for fluent API
         */
        public enum Color {
            BLACK(0, "BLACK"),
            RED(1, "RED"),
            GREEN(2, "GREEN"),
            YELLOW(3, "YELLOW"),
            BLUE(4, "BLUE"),
            MAGENTA(5, "MAGENTA"),
            CYAN(6, "CYAN"),
            WHITE(7, "WHITE"),
            DEFAULT(9, "DEFAULT");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertThrows(IllegalArgumentException.class, () -> multimap.put(Color.BLUE, -1));
        multimap.put(Color.RED, 1);
        multimap.put(Color.BLUE, 2);
        assertThrows(IllegalArgumentException.class, () -> multimap.put(Color.GREEN, -1));
        assertThat(multimap.entries())
            .containsExactly(Maps.immutableEntry(Color.RED, 1), Maps.immutableEntry(Color.BLUE, 2));
      }
    
      public void testNewMultimap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/istio-workload-dashboard.json

                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "ops"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 4,
            "w": 8,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 102.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py

        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Wrestlers", "size": None}
    
    
    @needs_py310
    def test_create(client: TestClient):
        response = client.put("/items/red", json={"name": "Chillies"})
        assert response.status_code == 201, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 738 bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        blueQueue.cancelAll()
        assertThat(taskFaker.executeCallCount).isEqualTo(1)
      }
    
      @Test fun noMoreThanOneWorkerThreadWaitingToStartAtATime() {
        // Enqueueing the red task starts a thread because the head of the queue changed.
        redQueue.execute("red task") {
          log += "red:starting@${taskFaker.nanoTime}"
          taskFaker.sleep(100.µs)
          log += "red:finishing@${taskFaker.nanoTime}"
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top