Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 158 for getString (0.1 sec)

  1. istioctl/pkg/cli/context.go

    	rawConfig, err := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(kube.ConfigLoadingRules(*i.kubeconfig), nil).RawConfig()
    	if err != nil {
    		return nil, fmt.Errorf("getting raw kubeconfig from file %q: %v", *i.kubeconfig, err)
    	}
    	impersonateConfig := i.getImpersonateConfig()
    	rawConfigContexts := maps.Keys(rawConfig.Contexts)
    	for _, c := range contexts {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        // Do blocking calls to plan a route for a new connection.
        val connect = planConnect()
    
        // Now that we have a set of IP addresses, make another attempt at getting a connection from
        // the pool. We have a better chance of matching thanks to connection coalescing.
        val pooled2 = planReusePooledConnection(connect, connect.routes)
        if (pooled2 != null) return pooled2
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. internal/lsync/lrwmutex_test.go

    	}
    }
    
    func testDualWriteLock(t *testing.T, duration time.Duration) (locked bool) {
    	ctx := context.Background()
    	lrwm := NewLRWMutex()
    
    	// fmt.Println("Getting initial write lock")
    	if !lrwm.GetLock(ctx, "", "", time.Second) {
    		panic("Failed to acquire initial write lock")
    	}
    
    	go func() {
    		time.Sleep(2 * time.Second)
    		lrwm.Unlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. cmd/handler-api.go

    			if contextCanceled(ctx) {
    				w.WriteHeader(499)
    				return
    			}
    			f.ServeHTTP(w, r)
    		case <-r.Context().Done():
    			globalHTTPStats.addRequestsInQueue(-1)
    			// When the client disconnects before getting the S3 handler
    			// status code response, set the status code to 499 so this request
    			// will be properly audited and traced.
    			w.WriteHeader(499)
    		default:
    			globalHTTPStats.addRequestsInQueue(-1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        TestSuite suite = new TestSuite(name);
        for (@SuppressWarnings("rawtypes") // class literals
        Class<? extends AbstractTester> testerClass : testers) {
          @SuppressWarnings("unchecked") // getting rid of the raw type, for better or for worse
          TestSuite testerSuite =
              makeSuiteForTesterClass((Class<? extends AbstractTester<?>>) testerClass);
          if (testerSuite.countTestCases() > 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_bigger_applications/test_main.py

        response = client.post(
            "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Admin getting schwifty"}
    
    
    def test_admin_invalid_header(client: TestClient):
        response = client.post("/admin/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. internal/http/headers.go

    	// current cluster does not have the object yet. This is in a site/bucket replication scenario.
    	MinIOTaggingProxied = "X-Minio-Tagging-Proxied"
    	// Header indicates the actual replicated object size
    	// In case of SSEC objects getting replicated (multipart) actual size would be needed at target
    	MinIOReplicationActualObjectSize = "X-Minio-Replication-Actual-Object-Size"
    
    	// predicted date/time of transition
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net.go

    		return nil, fmt.Errorf("can't find netns for pod, this is ok if this is a newly created pod (%w)", ErrPodNotFound)
    	}
    
    	return openNetns, nil
    }
    
    // AddPodToMesh adds a pod to mesh by
    // 1. Getting the netns
    // 2. Adding the pod's IPs to the hostnetns ipsets for node probe checks
    // 3. Creating iptables rules inside the pod's netns
    // 4. Notifying ztunnel via GRPC to create a proxy for the pod
    //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/MoreFiles.java

          //   A) it's not specified that "" is the path to the working directory.
          //   B) if we're getting this path for recursive delete, it's typically not possible to
          //      delete the working dir with a relative path anyway, so it's ok to fail.
          //   C) if we're getting it for opening a new SecureDirectoryStream, there's no need to get
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/MoreFiles.java

          //   A) it's not specified that "" is the path to the working directory.
          //   B) if we're getting this path for recursive delete, it's typically not possible to
          //      delete the working dir with a relative path anyway, so it's ok to fail.
          //   C) if we're getting it for opening a new SecureDirectoryStream, there's no need to get
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top