Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 198 for realSize (0.16 sec)

  1. pkg/kubemark/controller.go

    	kubemarkController.nodeGroupQueueSizeLock.Lock()
    	defer kubemarkController.nodeGroupQueueSizeLock.Unlock()
    	realSize, err := kubemarkController.GetNodeGroupSize(nodeGroup)
    	if err != nil {
    		return realSize, err
    	}
    	return realSize + kubemarkController.nodeGroupQueueSize[nodeGroup], nil
    }
    
    // SetNodeGroupSize changes the size of node group by adding or removing nodes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 23:02:17 UTC 2020
    - 14.1K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    			}
    
    			// Update size fields in the header block.
    			realSize := hdr.Size
    			hdr.Size = 0 // Encoded size; does not account for encoded sparse map
    			for _, s := range spd {
    				hdr.Size += s.Length
    			}
    			copy(blk.V7().Size(), zeroBlock[:]) // Reset field
    			f.formatNumeric(blk.V7().Size(), hdr.Size)
    			f.formatNumeric(blk.GNU().RealSize(), realSize)
    		}
    	*/
    	blk.setFormat(FormatGNU)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    			Uname:    "david",
    			Gname:    "david",
    			Devmajor: 0,
    			Devminor: 0,
    			PAXRecords: map[string]string{
    				"GNU.sparse.major":    "1",
    				"GNU.sparse.minor":    "0",
    				"GNU.sparse.realsize": "200",
    				"GNU.sparse.name":     "sparse-posix-1.0",
    			},
    			Format: FormatPAX,
    		}, {
    			Name:     "end",
    			Mode:     420,
    			Uid:      1000,
    			Gid:      1000,
    			Size:     4,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    func (h *headerGNU) accessTime() []byte  { return h[345:][:12] }
    func (h *headerGNU) changeTime() []byte  { return h[357:][:12] }
    func (h *headerGNU) sparse() sparseArray { return sparseArray(h[386:][:24*4+1]) }
    func (h *headerGNU) realSize() []byte    { return h[483:][:12] }
    
    type headerSTAR [blockSize]byte
    
    func (h *headerSTAR) v7() *headerV7      { return (*headerV7)(h) }
    func (h *headerSTAR) magic() []byte      { return h[257:][:6] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    	paxGNUSparseName      = "GNU.sparse.name"
    	paxGNUSparseMajor     = "GNU.sparse.major"
    	paxGNUSparseMinor     = "GNU.sparse.minor"
    	paxGNUSparseSize      = "GNU.sparse.size"
    	paxGNUSparseRealSize  = "GNU.sparse.realsize"
    )
    
    // basicKeys is a set of the PAX keys for which we have built-in support.
    // This does not contain "charset" or "comment", which are both PAX-specific,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    	// the same type flag but has a completely different layout.
    	if blk.getFormat() != FormatGNU {
    		return nil, ErrHeader
    	}
    	hdr.Format.mayOnlyBe(FormatGNU)
    
    	var p parser
    	hdr.Size = p.parseNumeric(blk.toGNU().realSize())
    	if p.err != nil {
    		return nil, p.err
    	}
    	s := blk.toGNU().sparse()
    	spd := make(sparseDatas, 0, s.maxEntries())
    	for {
    		for i := 0; i < s.maxEntries(); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultRealizableTaskCollectionTest.groovy

            collection.visitDependencies(Stub(TaskDependencyResolveContext))
    
            then:
            registry.state("tasks.redundant") == ModelNode.State.Discovered
        }
    
        def "realize is idempotent"() {
            given:
            ModelRegistryHelper registry = new ModelRegistryHelper()
            ModelPath path = ModelPath.path("tasks")
    
            registry.registerInstance("tasks", "foo tasks")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 22 12:57:17 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/main/java/org/gradle/language/internal/DefaultBinaryCollection.java

            }
            elements.add(element);
        }
    
        /**
         * Realizes the contents of this collection, running configuration actions and firing notifications. No further elements can be added.
         */
        public void realizeNow() {
            if (state != State.Collecting) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

                    doLast {
                        assert defaultTaskRealizedCount == 0, "All DefaultTask shouldn't be realized"
                        assert zipTaskRealizedCount == 1, "All Zip task should be realized"
                    }
                }
            '''
    
            expect:
            succeeds "foo"
        }
    
        def "can realize a task provider inside a configureEach action"() {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/collections/SortedSetElementSource.java

                    if (collector.getType() == null || type.isAssignableFrom(collector.getType())) {
                        copied.add(collector);
                    }
                }
                realize(copied);
            }
        }
    
        private void realize(Iterable<Collectors.TypedCollector<T>> collectors) {
            for (Collectors.TypedCollector<T> collector : collectors) {
                pending.remove(collector);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top