Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 5,084 for Size (0.21 sec)

  1. tests/test_tutorial/test_handling_errors/test_tutorial005.py

                    },
                    "Item": {
                        "title": "Item",
                        "required": ["title", "size"],
                        "type": "object",
                        "properties": {
                            "title": {"title": "Title", "type": "string"},
                            "size": {"title": "Size", "type": "integer"},
                        },
                    },
                    "ValidationError": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CartesianList.java

        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertEquals(1, restrictions.size(), CHECK_NUM_RESTRICTIONS);
    
            VersionRange version = VersionRange.createFromVersion("1.0");
            assertSame(version, VersionRange.createFromVersion("1.0")); // same instance from version cache
            restrictions = version.getRestrictions();
            assertEquals(0, restrictions.size(), CHECK_NUM_RESTRICTIONS);
    
            assertFalse(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 44.3K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/IsolatingProcessingStrategy.java

            Set<String> originatingTypes = ElementUtils.getTopLevelTypeNames(originatingElements);
            int size = originatingTypes.size();
            if (size != 1) {
                result.setFullRebuildCause("the generated type '" + generatedType + "' must have exactly one originating element, but had " + size);
            }
            result.addGeneratedType(generatedType, originatingTypes);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. src/runtime/mem_sbrk.go

    			break
    		}
    	}
    	if bpn+bp.size == uintptr(unsafe.Pointer(p.next)) {
    		bp.size += p.next.ptr().size
    		bp.next = p.next.ptr().next
    		*p.next.ptr() = memHdr{}
    	} else {
    		bp.next = p.next
    	}
    	if uintptr(unsafe.Pointer(p))+p.size == bpn {
    		p.size += bp.size
    		p.next = bp.next
    		*bp = memHdr{}
    	} else {
    		p.next.set(bp)
    	}
    }
    
    func memCheck() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. src/syscall/dirent.go

    	"unsafe"
    )
    
    // readInt returns the size-bytes unsigned integer in native byte order at offset off.
    func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {
    	if len(b) < int(off+size) {
    		return 0, false
    	}
    	if goarch.BigEndian {
    		return readIntBE(b[off:], size), true
    	}
    	return readIntLE(b[off:], size), true
    }
    
    func readIntBE(b []byte, size uintptr) uint64 {
    	switch size {
    	case 1:
    		return uint64(b[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/tests/go122-syscall-steal-proc-sitting-in-syscall.test

    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=9
    ProcStatus dt=1 p=0 pstatus=4
    ProcSteal dt=1 p=0 p_seq=1 m=1
    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    GoStatus dt=1 g=1 m=1 gstatus=3
    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Stacks
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 429 bytes
    - Viewed (0)
  8. src/cmd/go/internal/mmap/mmap_unix.go

    	if err != nil {
    		return Data{}, err
    	}
    	size := st.Size()
    	pagesize := int64(os.Getpagesize())
    	if int64(int(size+(pagesize-1))) != size+(pagesize-1) {
    		return Data{}, fmt.Errorf("%s: too large for mmap", f.Name())
    	}
    	n := int(size)
    	if n == 0 {
    		return Data{f, nil}, nil
    	}
    	mmapLength := int(((size + pagesize - 1) / pagesize) * pagesize) // round up to page size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 886 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

      private final transient int size;
    
      @LazyInit @CheckForNull private transient ImmutableSet<E> elementSet;
    
      RegularImmutableMultiset(ObjectCountHashMap<E> contents) {
        this.contents = contents;
        long size = 0;
        for (int i = 0; i < contents.size(); i++) {
          size += contents.getValue(i);
        }
        this.size = Ints.saturatedCast(size);
      }
    
      @Override
      boolean isPartialView() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/dirent.go

    import "unsafe"
    
    // readInt returns the size-bytes unsigned integer in native byte order at offset off.
    func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {
    	if len(b) < int(off+size) {
    		return 0, false
    	}
    	if isBigEndian {
    		return readIntBE(b[off:], size), true
    	}
    	return readIntLE(b[off:], size), true
    }
    
    func readIntBE(b []byte, size uintptr) uint64 {
    	switch size {
    	case 1:
    		return uint64(b[0])
    	case 2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top