Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for tmpl (0.13 sec)

  1. src/crypto/x509/verify_test.go

    	}
    	tmpl := &Certificate{
    		SerialNumber: serial,
    		Subject:      pkix.Name{CommonName: subject},
    		NotBefore:    time.Now().Add(-time.Hour),
    		NotAfter:     time.Now().Add(time.Hour),
    	}
    	if certType == rootCertificate || certType == intermediateCertificate {
    		tmpl.IsCA, tmpl.BasicConstraintsValid = true, true
    		tmpl.KeyUsage = KeyUsageCertSign
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  2. tests/integration/pilot/common/routing.go

    			t.RunTraffic(TrafficTestCase{
    				name:   "source ip " + c.Config().Service,
    				config: svc + tmpl.MustEvaluate(destRule, "useSourceIp: true"),
    				call:   c.CallOrFail,
    				opts:   callOpts,
    			})
    			t.RunTraffic(TrafficTestCase{
    				name:   "query param" + c.Config().Service,
    				config: svc + tmpl.MustEvaluate(destRule, "httpQueryParameterName: some-query-param"),
    				call:   c.CallOrFail,
    				opts:   callOpts,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  3. src/crypto/x509/x509_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	tmpl := &Certificate{
    		SerialNumber: big.NewInt(1),
    		Subject: pkix.Name{
    			CommonName: ":)",
    		},
    		NotAfter:  time.Now().Add(time.Hour),
    		NotBefore: time.Now().Add(-time.Hour),
    	}
    	der, err := CreateCertificate(rand.Reader, tmpl, tmpl, k.Public(), k)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

    // The template "selector" struct TemplateSel<Tmpl> is used to
    // represent Tmpl, which must be a class template with one type
    // parameter, as a type.  TemplateSel<Tmpl>::Bind<T>::type is defined
    // as the type Tmpl<T>.  This allows us to actually instantiate the
    // template "selected" by TemplateSel<Tmpl>.
    //
    // This trick is necessary for simulating typedef for class templates,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 181.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    	fetchKeysFromRemote bool
    }
    
    // Replace formats the contents of v into the provided template.
    func replace(tmpl string, v interface{}) string {
    	t := template.Must(template.New("test").Parse(tmpl))
    	buf := bytes.NewBuffer(nil)
    	t.Execute(buf, &v)
    	ret := buf.String()
    	klog.V(4).Infof("Replaced: %v into: %v", tmpl, ret)
    	return ret
    }
    
    // newClaimServer returns a new test HTTPS server, which is rigged to return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskIntegrationTest.groovy

    org:leaf2:1.0
    \\--- org:leaf1:1.0
         +--- conf
         \\--- org:leaf2:1.0 (*)
    """
        }
    
        def "deals with dependency cycle to root"() {
            given:
            createDirs("impl")
            settingsFile << "include 'impl'; rootProject.name='root'"
    
            buildFile << """
                allprojects {
                    apply plugin: 'java-library'
                    group = 'org.foo'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 15:15:56 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/generic.rules

    // Restrict this optimization to the stack, to avoid duplicating loads from the heap;
    // see CL 145208 for discussion.
    (Move {t1} [s] dst tmp1 midmem:(Move {t2} [s] tmp2 src _))
    	&& t1.Compare(t2) == types.CMPeq
    	&& isSamePtr(tmp1, tmp2)
    	&& isStackPtr(src) && !isVolatile(src)
    	&& disjoint(src, s, tmp2, s)
    	&& (disjoint(src, s, dst, s) || isInlinableMemmove(dst, src, s, config))
    	=> (Move {t1} [s] dst src midmem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  8. src/reflect/all_test.go

    	}
    	var b [1024]byte // makes frame about 1KB
    	useStack(n - 1 + int(b[99]))
    }
    
    type Impl struct{}
    
    func (Impl) F() {}
    
    func TestValueString(t *testing.T) {
    	rv := ValueOf(Impl{})
    	if rv.String() != "<reflect_test.Impl Value>" {
    		t.Errorf("ValueOf(Impl{}).String() = %q, want %q", rv.String(), "<reflect_test.Impl Value>")
    	}
    
    	method := rv.Method(0)
    	if method.String() != "<func() Value>" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

            TF_RETURN_IF_ERROR(CopyGraph(
                &params->cond_graph->graph, &parent->graph, &parent->refiner,
                params->cond_inputs, inputs, scope.impl()->name(),
                scope.impl()->control_deps(), &params->cond_output,
                /* nreturn_nodes */ 1, &cond_output));
            *output = cond_output[0];
            return absl::OkStatus();
          };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LocalCache.java

            }
    
            @Override
            public void notifyNewValue(Object newValue) {}
          };
    
      /** Singleton placeholder that indicates a value is being loaded. */
      @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
      static <K, V> ValueReference<K, V> unset() {
        return (ValueReference<K, V>) UNSET;
      }
    
      private enum NullEntry implements ReferenceEntry<Object, Object> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
Back to top