Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getSample (0.26 sec)

  1. samples/guide/src/main/java/okhttp3/guide/GetExample.java

          return response.body().string();
        }
      }
    
      public static void main(String[] args) throws IOException {
        GetExample example = new GetExample();
        String response = example.run("https://raw.github.com/square/okhttp/master/README.md");
        System.out.println(response);
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java

         */
        public abstract DirectoryProperty getSnippets();
    
        /**
         * Source of samples that can be inserted into the user manual
         *
         */
        public abstract DirectoryProperty getSamples();
    
        /**
         * Working directory for staging directory for intermediate user manual files
         */
        public abstract DirectoryProperty getStagingRoot();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                inputs.dir(extension.getUserManual().getSnippets())
                    .withPropertyName("snippets")
                    .withPathSensitivity(PathSensitivity.RELATIVE);
                inputs.dir(extension.getUserManual().getSamples())
                    .withPropertyName("samples")
                    .withPathSensitivity(PathSensitivity.RELATIVE);
    
                Provider<Directory> stylesDir = extension.getUserManual().getStagedDocumentation().dir("css");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. pilot/pkg/networking/grpcgen/cds.go

    func (b *clusterBuilder) applyLoadBalancing(c *cluster.Cluster, policy *networking.TrafficPolicy) {
    	switch policy.GetLoadBalancer().GetSimple() {
    	case networking.LoadBalancerSettings_ROUND_ROBIN, networking.LoadBalancerSettings_UNSPECIFIED:
    	// ok
    	default:
    		log.Warnf("cannot apply LbPolicy %s to %s", policy.LoadBalancer.GetSimple(), b.node.ID)
    	}
    	corexds.ApplyRingHashLoadBalancer(c, policy.GetLoadBalancer())
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. README.md

     [changelog]: https://square.github.io/okhttp/changelog/
     [conscrypt]: https://github.com/google/conscrypt/
     [get_example]: https://raw.github.com/square/okhttp/master/samples/guide/src/main/java/okhttp3/guide/GetExample.java
     [kotlin]: https://kotlinlang.org/
     [okhttp3_pro]: https://raw.githubusercontent.com/square/okhttp/master/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_traffic_policy.go

    	if features.EnableRedisFilter && port != nil && port.Protocol == protocol.Redis {
    		c.LbPolicy = cluster.Cluster_MAGLEV
    		return
    	}
    
    	// DO not do if else here. since lb.GetSimple returns a enum value (not pointer).
    	switch lb.GetSimple() {
    	// nolint: staticcheck
    	case networking.LoadBalancerSettings_LEAST_CONN, networking.LoadBalancerSettings_LEAST_REQUEST:
    		applyLeastRequestLoadBalancer(c, lb)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_builder.go

    	// ServiceEntry's need to filter hosts based on subset.labels in order to perform weighted routing
    	var lbEndpoints []*endpoint.LocalityLbEndpoints
    
    	isPassthrough := subset.GetTrafficPolicy().GetLoadBalancer().GetSimple() == networking.LoadBalancerSettings_PASSTHROUGH
    	clusterType := opts.mutable.cluster.GetType()
    	if isPassthrough {
    		clusterType = cluster.Cluster_ORIGINAL_DST
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/static/trace_viewer_full.html

    return{min,max,avg:(sum/sampleIndices.length),start:this.getSample(sampleIndices[0]).value,end:this.getSample(sampleIndices.length-1).value};},shiftTimestampsForward(amount){for(let i=0;i<this.timestamps_.length;++i){this.timestamps_[i]+=amount;this.sam...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
  9. pilot/pkg/model/push_context.go

    	// A service with passthrough resolution is always passthrough, regardless of the TrafficPolicy.
    	if service.Resolution == Passthrough || tp.GetLoadBalancer().GetSimple() == networking.LoadBalancerSettings_PASSTHROUGH {
    		instances := ps.ServiceEndpointsByPort(service, port.Port, nil)
    		if len(instances) == 0 {
    			return MTLSDisable
    		}
    		for _, i := range instances {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top