Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 88 for S1 (0.03 sec)

  1. cmd/bootstrap-peer-server.go

    	MinioEnv   map[string]string
    }
    
    // Diff - returns error on first difference found in two configs.
    func (s1 *ServerSystemConfig) Diff(s2 *ServerSystemConfig) error {
    	ns1 := s1.NEndpoints
    	ns2 := s2.NEndpoints
    	if ns1 != ns2 {
    		return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2)
    	}
    
    	for i, cmdLine := range s1.CmdLines {
    		if cmdLine != s2.CmdLines[i] {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. pkg/slices/slices.go

    // Floating point NaNs are not considered equal.
    func Equal[E comparable](s1, s2 []E) bool {
    	return slices.Equal(s1, s2)
    }
    
    // EqualUnordered reports whether two slices are equal, ignoring order
    func EqualUnordered[E comparable](s1, s2 []E) bool {
    	if len(s1) != len(s2) {
    		return false
    	}
    	first := make(map[E]struct{}, len(s1))
    	for _, c := range s1 {
    		first[c] = struct{}{}
    	}
    	for _, c := range s2 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir

        %3 = stablehlo.constant dense<4> : tensor<1x1x3xi32>  // Precalculated q2 * z1.
        %4 = stablehlo.constant dense<3.000000e+03> : tensor<1x1x3xf32>  // Merged scale: s1 * s2.
        %5 = stablehlo.constant dense<2.000000e+02> : tensor<1x1x1xf32>  // Output inverse scale.
        %6 = stablehlo.constant dense<2> : tensor<1x1x1xi8>  // Output zero point.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 37K bytes
    - Viewed (0)
  4. src/math/rand/v2/rand_test.go

    // disagree, or <0 if the lengths are the same and all elements
    // are identical.
    func compareUint32Slices(s1, s2 []uint32) int {
    	if len(s1) != len(s2) {
    		if len(s1) > len(s2) {
    			return len(s2) + 1
    		}
    		return len(s1) + 1
    	}
    	for i := range s1 {
    		if s1[i] != s2[i] {
    			return i
    		}
    	}
    	return -1
    }
    
    // compareFloat32Slices returns the first index where the two slices
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/builtins0.go

    	assert(unsafe.Offsetof(y1.e) == 56)   // relative to S1
    
    	var y1p *S1
    	assert(unsafe.Offsetof(y1p.S0) == 32)
    
    	type P *S1
    	var p P = y1p
    	assert(unsafe.Offsetof(p.S0) == 32)
    
    	var y2 S2
    	assert(unsafe.Offsetof(y2.S1) == 0)
    	_ = unsafe.Offsetof(y2 /* ERROR "embedded via a pointer" */ .x)
    	_ = unsafe.Offsetof(y2 /* ERROR "method value" */ .m)
    
    	var s []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/macho.go

    		ml.data[0] = uint32(linkoff + s1 + s2)                /* symoff */
    		ml.data[1] = uint32(nsortsym)                         /* nsyms */
    		ml.data[2] = uint32(linkoff + s1 + s2 + s3 + s4 + s5) /* stroff */
    		ml.data[3] = uint32(s6)                               /* strsize */
    
    		if ctxt.LinkMode != LinkExternal {
    			machodysymtab(ctxt, linkoff+s1+s2)
    
    			ml := newMachoLoad(ctxt.Arch, LC_LOAD_DYLINKER, 6)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  7. maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

        private static class OptionComparator implements Comparator<Option> {
            public int compare(Option opt1, Option opt2) {
                String s1 = opt1.getOpt() != null ? opt1.getOpt() : opt1.getLongOpt();
                String s2 = opt2.getOpt() != null ? opt2.getOpt() : opt2.getLongOpt();
                return s1.compareToIgnoreCase(s2);
            }
        }
    
        private static class CLIManagerExtension extends CLIManager {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/hash/fnv/fnv.go

    		// Compute the multiplication
    		s0, s1 := bits.Mul64(prime128Lower, s[1])
    		s0 += s[1]<<prime128Shift + prime128Lower*s[0]
    		// Update the values
    		s[1] = s1
    		s[0] = s0
    		s[1] ^= uint64(c)
    	}
    	return len(data), nil
    }
    
    func (s *sum128a) Write(data []byte) (int, error) {
    	for _, c := range data {
    		s[1] ^= uint64(c)
    		// Compute the multiplication
    		s0, s1 := bits.Mul64(prime128Lower, s[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. test/codegen/comparisons.go

    type T1 struct {
    	a [8]byte
    }
    
    func CompareStruct1(s1, s2 T1) bool {
    	// amd64:`CMPQ\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]`
    	// amd64:-`CALL`
    	return s1 == s2
    }
    
    type T2 struct {
    	a [16]byte
    }
    
    func CompareStruct2(s1, s2 T2) bool {
    	// amd64:`CMPQ\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]`
    	// amd64:-`CALL`
    	return s1 == s2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

                    builder.append('\n');
                }
            }
    
            return builder.toString();
        }
    
        public static String shorterOf(String s1, String s2) {
            logDeprecation();
            if (s2.length() >= s1.length()) {
                return s1;
            } else {
                return s2;
            }
        }
    
        /**
         * Same behavior as Groovy minus operator between Strings
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top