Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for copyFn (0.11 sec)

  1. staging/src/k8s.io/api/apps/v1/generated.pb.go

    	}
    	i--
    	dAtA[i] = 0x32
    	i -= len(m.Message)
    	copy(dAtA[i:], m.Message)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
    	i--
    	dAtA[i] = 0x2a
    	i -= len(m.Reason)
    	copy(dAtA[i:], m.Reason)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
    	i--
    	dAtA[i] = 0x22
    	i -= len(m.Status)
    	copy(dAtA[i:], m.Status)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 217.1K bytes
    - Viewed (0)
  2. src/database/sql/sql.go

    // floating point columns into *float64.
    //
    // If a dest argument has type *[]byte, Scan saves in that argument a
    // copy of the corresponding data. The copy is owned by the caller and
    // can be modified and held indefinitely. The copy can be avoided by
    // using an argument of type [*RawBytes] instead; see the documentation
    // for [RawBytes] for restrictions on its use.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    	var apiPodStatus v1.PodStatus
    
    	// copy pod status IPs to avoid race conditions with PodStatus #102806
    	podIPs := make([]string, len(podStatus.IPs))
    	copy(podIPs, podStatus.IPs)
    
    	// make podIPs order match node IP family preference #97979
    	podIPs = kl.sortPodIPs(podIPs)
    	for _, ip := range podIPs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. src/reflect/all_test.go

    	t.Run("Slice", func(t *testing.T) {
    		s := bytes.Repeat([]byte{'_'}, 8)
    		val := ValueOf(s)
    
    		n := Copy(val, ValueOf(""))
    		if expecting := []byte("________"); n != 0 || !bytes.Equal(s, expecting) {
    			t.Errorf("got n = %d, s = %s, expecting n = 0, s = %s", n, s, expecting)
    		}
    
    		n = Copy(val, ValueOf("hello"))
    		if expecting := []byte("hello___"); n != 5 || !bytes.Equal(s, expecting) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    <code>len(src)</code> and <code>len(dst)</code>.
    As a special case, <code>copy</code> also accepts a destination argument assignable
    to type <code>[]byte</code> with a source argument of a string type.
    This form copies the bytes from the string into the byte slice.
    </p>
    
    <pre class="grammar">
    copy(dst, src []T) int
    copy(dst []byte, src string) int
    </pre>
    
    <p>
    Examples:
    </p>
    
    <pre>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

    /*
     * Copyright 2017 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/base64"
    	"encoding/binary"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/gateway_test.go

    // Copyright Istio Authors
    //
    // Licensed under the Apache License, Version 2.0 (the "License");
    // you may not use this file except in compliance with the License.
    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar

    org.codehaus.plexus.component.repository.ComponentDescriptor componentDescriptor; private org.codehaus.plexus.lifecycle.LifecycleHandler lifecycleHandler; private int connections; private String id; public void AbstractComponentMan(); public ComponentManager copy(); public org.codehaus.plexus.component.repository.ComponentDescriptor getComponentDescript(); public String getId(); public org.codehaus.plexus.lifecycle.LifecycleHandler getLifecycleHandler(); protected void incrementConnectionC(); protected void...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 205.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    /* Copyright 2023 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top