Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 958 for wcap (0.04 sec)

  1. cmd/kubeadm/app/util/runtime/runtime.go

    	if err != nil {
    		return errors.Wrap(err, "failed to create new CRI runtime service")
    	}
    	runtime.runtimeService = runtimeService
    
    	imageService, err := runtime.impl.NewRemoteImageService(runtime.criSocket, defaultTimeout)
    	if err != nil {
    		return errors.Wrap(err, "failed to create new CRI image service")
    	}
    	runtime.imageService = imageService
    
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/func.go

    	}
    
    	if n.Len == nil {
    		base.Fatalf("missing len argument for OMAKESLICECOPY")
    	}
    
    	if n.Cap == nil {
    		base.Fatalf("missing slice argument to copy for OMAKESLICECOPY")
    	}
    
    	n.Len = Expr(n.Len)
    	n.Cap = Expr(n.Cap)
    
    	n.Len = DefaultLit(n.Len, types.Types[types.TINT])
    
    	if !n.Len.Type().IsInteger() && n.Type().Kind() != types.TIDEAL {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Primitives.java

       * returns {@code type} itself. Idempotent.
       *
       * <pre>
       *     wrap(int.class) == Integer.class
       *     wrap(Integer.class) == Integer.class
       *     wrap(String.class) == String.class
       * </pre>
       */
      public static <T> Class<T> wrap(Class<T> type) {
        checkNotNull(type);
    
        // cast is safe: long.class and Long.class are both of type Class<Long>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 05 19:04:25 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/WithSideEffectProviderTest.groovy

            given:
            def sideEffect = Mock(ValueSupplier.SideEffect)
            def counter = new AtomicInteger(23)
            def parent = Providers.changing { counter.getAndIncrement() }
            def provider = wrap(parent.withSideEffect(sideEffect)) { it * 2 }
    
            when:
            provider.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
            provider.calculateExecutionTimeValue()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. internal/grid/grid.go

    var PutByteBuffer = func(b []byte) {
    	if cap(b) >= biggerBufMin && cap(b) < biggerBufMax {
    		internal32KByteBuffer.Put(&b)
    		return
    	}
    	if cap(b) >= minBufferSize && cap(b) < biggerBufMin {
    		internalByteBuffer.Put(&b)
    		return
    	}
    }
    
    // readAllInto reads from r and appends to b until an error or EOF and returns the data it read.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 02 15:56:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/join/controlplanejoin.go

    	client, err := data.Client()
    	if err != nil {
    		return errors.Wrap(err, "couldn't create Kubernetes client")
    	}
    	cfg, err := data.InitCfg()
    	if err != nil {
    		return err
    	}
    
    	if !data.DryRun() {
    		if err := markcontrolplanephase.MarkControlPlane(client, cfg.NodeRegistration.Name, cfg.NodeRegistration.Taints); err != nil {
    			return errors.Wrap(err, "error applying control-plane label and taints")
    		}
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:09:42 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/template.go

    	var buf bytes.Buffer
    	tmpl, err := template.New("template").Parse(strtmpl)
    	if err != nil {
    		return nil, errors.Wrap(err, "error when parsing template")
    	}
    	err = tmpl.Execute(&buf, obj)
    	if err != nil {
    		return nil, errors.Wrap(err, "error when executing template")
    	}
    	return buf.Bytes(), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 26 07:17:21 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/internal/concrete_function.cc

    #include "tensorflow/c/tf_status_internal.h"
    #include "tensorflow/core/platform/status.h"
    
    extern "C" {
    
    TF_FunctionMetadata* TF_ConcreteFunctionGetMetadata(TF_ConcreteFunction* func) {
      return tensorflow::wrap(const_cast<tensorflow::FunctionMetadata*>(
          &tensorflow::unwrap(func)->GetFunctionMetadata()));
    }
    
    TFE_Op* TF_ConcreteFunctionMakeCallOp(TF_ConcreteFunction* func,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 06:55:27 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/internal/signature_def_function.cc

    #include "tensorflow/core/platform/status.h"
    
    extern "C" {
    
    TF_SignatureDefFunctionMetadata* TF_SignatureDefFunctionGetMetadata(
        TF_SignatureDefFunction* func) {
      return tensorflow::wrap(const_cast<tensorflow::SignatureDefFunctionMetadata*>(
          &tensorflow::unwrap(func)->GetFunctionMetadata()));
    }
    
    TFE_Op* TF_SignatureDefFunctionMakeCallOp(TF_SignatureDefFunction* func,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 17 23:03:48 UTC 2020
    - 2.3K bytes
    - Viewed (0)
Back to top