Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 491 for size2 (0.17 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
        for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) {
          size2 += entry2.getValue().size();
        }
        assertEquals(expectedSize, size2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
        for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) {
          size2 += entry2.getValue().size();
        }
        assertEquals(expectedSize, size2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/unicode/utf8/utf8_test.go

    		}
    		si += size1
    	}
    	j--
    	for si = len(s); si > 0; {
    		r1, size1 := DecodeLastRune(b[0:si])
    		r2, size2 := DecodeLastRuneInString(s[0:si])
    		if size1 != size2 {
    			t.Errorf("DecodeLastRune/DecodeLastRuneInString(%q, %d) size mismatch %d/%d", s, si, size1, size2)
    			return
    		}
    		if r1 != index[j].r {
    			t.Errorf("DecodeLastRune(%q, %d) = %#04x, want %#04x", s, si, r1, index[j].r)
    			return
    		}
    		if r2 != index[j].r {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  4. src/runtime/string.go

    	}
    	var dum [4]byte
    	size1 := 0
    	for _, r := range a {
    		size1 += encoderune(dum[:], r)
    	}
    	s, b := rawstringtmp(buf, size1+3)
    	size2 := 0
    	for _, r := range a {
    		// check for race
    		if size2 >= size1 {
    			break
    		}
    		size2 += encoderune(b[size2:], r)
    	}
    	return s[:size2]
    }
    
    type stringStruct struct {
    	str unsafe.Pointer
    	len int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite.go

    // size pairs overlap.
    func overlap(offset1, size1, offset2, size2 int64) bool {
    	if offset1 >= offset2 && offset2+size2 > offset1 {
    		return true
    	}
    	if offset2 >= offset1 && offset1+size1 > offset2 {
    		return true
    	}
    	return false
    }
    
    func areAdjacentOffsets(off1, off2, size int64) bool {
    	return off1+size == off2 || off1 == off2+size
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/sizes.go

    //   - The size of strings and interfaces is 2*WordSize.
    //   - The size of slices is 3*WordSize.
    //   - The size of an array of n elements corresponds to the size of
    //     a struct of n consecutive fields of the array's element type.
    //   - The size of a struct is the offset of the last field plus that
    //     field's size. As with all element types, if the struct is used
    //     in an array its size must first be aligned to a multiple of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. .github/workflows/multipart/nginx-site2.conf

        upstream minio {
            server site2-minio1:9000;
            server site2-minio2:9000;
            server site2-minio3:9000;
            server site2-minio4:9000;
        }
    
        server {
            listen       9002;
            listen  [::]:9002;
            server_name  localhost;
    
            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 30 10:13:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/size.go

    			maxAlign = 8
    		}
    	}
    
    	fields := t.Fields()
    	size := calcStructOffset(t, fields, 0)
    
    	// For non-zero-sized structs which end in a zero-sized field, we
    	// add an extra byte of padding to the type. This padding ensures
    	// that taking the address of a zero-sized field can't manufacture a
    	// pointer to the next object in the heap. See issue 9401.
    	if size > 0 && fields[len(fields)-1].Type.width == 0 {
    		size++
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. .github/workflows/multipart/docker-compose-site2.yaml

      site2-minio2:
        <<: *minio-common
        hostname: site2-minio2
        volumes:
          - site2-data2-1:/data1
          - site2-data2-2:/data2
    
      site2-minio3:
        <<: *minio-common
        hostname: site2-minio3
        volumes:
          - site2-data3-1:/data1
          - site2-data3-2:/data2
    
      site2-minio4:
        <<: *minio-common
        hostname: site2-minio4
        volumes:
          - site2-data4-1:/data1
          - site2-data4-2:/data2
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 30 10:13:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. src/go/types/sizes.go

    //   - The size of strings and interfaces is 2*WordSize.
    //   - The size of slices is 3*WordSize.
    //   - The size of an array of n elements corresponds to the size of
    //     a struct of n consecutive fields of the array's element type.
    //   - The size of a struct is the offset of the last field plus that
    //     field's size. As with all element types, if the struct is used
    //     in an array its size must first be aligned to a multiple of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top