Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for Slice3 (0.07 sec)

  1. docs/distributed/samples/bootstrap-partial.ldif

    ou: hwengg
    
    # Create people sub-org
    dn: ou=people,ou=hwengg,dc=min,dc=io
    objectClass: organizationalUnit
    ou: people
    
    # Create Alice, Bob and Cody in hwengg
    dn: uid=alice1,ou=people,ou=hwengg,dc=min,dc=io
    objectClass: inetOrgPerson
    cn: Alice Smith
    sn: Smith
    uid: alice1
    mail: alice@example.io
    userPassword: {SSHA}Yeh2/IV/q/HjG2yzN3YdE9CAF3EJFCLu
    
    dn: uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io
    objectClass: inetOrgPerson
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 15:59:00 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    }
    
    // Compare returns an integer comparing two byte slices lexicographically.
    // The result will be 0 if a == b, -1 if a < b, and +1 if a > b.
    // A nil argument is equivalent to an empty slice.
    func Compare(a, b []byte) int {
    	return bytealg.Compare(a, b)
    }
    
    // explode splits s into a slice of UTF-8 sequences, one per Unicode code point (still slices of bytes),
    // up to a maximum of n byte slices. Invalid UTF-8 sequences are chopped into individual bytes.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. docs/distributed/samples/bootstrap-complete.ldif

    ou: hwengg
    
    # Create people sub-org
    dn: ou=people,ou=hwengg,dc=min,dc=io
    objectClass: organizationalUnit
    ou: people
    
    # Create Alice, Bob and Cody in hwengg
    dn: uid=alice1,ou=people,ou=hwengg,dc=min,dc=io
    objectClass: inetOrgPerson
    cn: Alice Smith
    sn: Smith
    uid: alice1
    mail: alice@example.io
    userPassword: {SSHA}Yeh2/IV/q/HjG2yzN3YdE9CAF3EJFCLu
    
    dn: uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io
    objectClass: inetOrgPerson
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 15:59:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common.go

    	default:
    		return checkPartUnknown
    	}
    }
    
    func partNeedsHealing(partErrs []int) bool {
    	return slices.IndexFunc(partErrs, func(i int) bool { return i != checkPartSuccess && i != checkPartUnknown }) > -1
    }
    
    func hasPartErr(partErrs []int) bool {
    	return slices.IndexFunc(partErrs, func(i int) bool { return i != checkPartSuccess }) > -1
    }
    
    // disksWithAllParts - This function needs to be called with
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. utils/utils.go

    	return strings.Join(relationNames, nestedRelationSplit)
    }
    
    // RTrimSlice Right trims the given slice by given length
    func RTrimSlice[T any](v []T, trimLen int) []T {
    	if trimLen >= len(v) { // trimLen greater than slice len means fully sliced
    		return v[:0]
    	}
    	if trimLen < 0 { // negative trimLen is ignored
    		return v[:]
    	}
    	return v[:len(v)-trimLen]
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ByteSourceTest.java

       * the offset at which the slice is supposed to start.
       */
      // TODO(cgdecker): Maybe add a test for this to ByteSourceTester
      public void testSlice_appendingAfterSlicing() throws IOException {
        // Source of length 5
        AppendableByteSource source = new AppendableByteSource(newPreFilledByteArray(5));
    
        // Slice it starting at offset 10.
        ByteSource slice = source.slice(10, 5);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

       * the offset at which the slice is supposed to start.
       */
      // TODO(cgdecker): Maybe add a test for this to ByteSourceTester
      public void testSlice_appendingAfterSlicing() throws IOException {
        // Source of length 5
        AppendableByteSource source = new AppendableByteSource(newPreFilledByteArray(5));
    
        // Slice it starting at offset 10.
        ByteSource slice = source.slice(10, 5);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    Except for <a href="#Constants">untyped strings</a>, if the sliced operand is a string or slice,
    the result of the slice operation is a non-constant value of the same type as the operand.
    For untyped string operands the result is a non-constant value of type <code>string</code>.
    If the sliced operand is an array, it must be <a href="#Address_operators">addressable</a>
    and the result of the slice operation is a slice with the same element type as the array.
    </p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  9. doc/go_spec.html

    Except for <a href="#Constants">untyped strings</a>, if the sliced operand is a string or slice,
    the result of the slice operation is a non-constant value of the same type as the operand.
    For untyped string operands the result is a non-constant value of type <code>string</code>.
    If the sliced operand is an array, it must be <a href="#Address_operators">addressable</a>
    and the result of the slice operation is a slice with the same element type as the array.
    </p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  10. istioctl/pkg/injector/injector-list.go

    	if err != nil {
    		return []corev1.Namespace{}, err
    	}
    	filtered := filterSystemNamespaces(nsList.Items, istioNamespace)
    	filtered = slices.Filter(filtered, func(namespace corev1.Namespace) bool {
    		return !ambient.InAmbient(&namespace)
    	})
    	sort.Slice(filtered, func(i, j int) bool {
    		return filtered[i].Name < filtered[j].Name
    	})
    	return filtered, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top