Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,520 for Size (0.06 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/etcd.go

    		if err != nil {
    			return nil, fmt.Errorf("invalid size of watch cache size: %s", c)
    		}
    		if size < 0 {
    			return nil, fmt.Errorf("watch cache size cannot be negative: %s", c)
    		}
    		watchCacheSizes[schema.ParseGroupResource(tokens[0])] = size
    	}
    	return watchCacheSizes, nil
    }
    
    // WriteWatchCacheSizes turns a map of cache size values into a list of string specifications.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 15:02:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/abt/avlint32_test.go

    			return
    		}
    		if i != size {
    			te.Errorf("Wrong tree size %v, expected %v after Delete", i, size)
    			return
    		}
    		if t.Size() != size {
    			te.Errorf("Wrong t.Size() %v, expected %v for %v", t.Size(), i, t.DebugString())
    			return
    		}
    	}
    
    }
    
    func applicIterator(te *testing.T, x []int32) {
    	t, _, _, _ := makeTree(te, x, false)
    	it := t.Iterator()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 11 16:34:41 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admission/v1beta1/generated.pb.go

    }
    
    func (m *AdmissionRequest) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *AdmissionRequest) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model.size() == 4
            model[0].message == "project :a classpath = 2"
            model[1].message == "project :b classpath = 1"
            model[2].message == "project :c classpath = 0"
            model[3].message == "project :d classpath = 0"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/objfile.go

    			align = 4
    		default:
    			switch {
    			case w.ctxt.Arch.PtrSize == 8 && s.Size%8 == 0:
    				align = 8
    			case s.Size%4 == 0:
    				align = 4
    			case s.Size%2 == 0:
    				align = 2
    			default:
    				align = 1
    			}
    		}
    	}
    	if s.Size > cutoff {
    		w.ctxt.Diag("%s: symbol too large (%d bytes > %d bytes)", s.Name, s.Size, cutoff)
    	}
    	o := &w.tmpSym
    	o.SetName(name, w.Writer)
    	o.SetABI(abi)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. src/crypto/internal/bigmod/nat.go

    		return errors.New("input overflows the modulus size")
    	}
    	return nil
    }
    
    // Equal returns 1 if x == y, and 0 otherwise.
    //
    // Both operands must have the same announced length.
    func (x *Nat) Equal(y *Nat) choice {
    	// Eliminate bounds checks in the loop.
    	size := len(x.limbs)
    	xLimbs := x.limbs[:size]
    	yLimbs := y.limbs[:size]
    
    	equal := yes
    	for i := 0; i < size; i++ {
    		equal &= ctEq(xLimbs[i], yLimbs[i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/events/v1/generated.pb.go

    }
    
    func (m *Event) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *Event) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/grappler/grappler.cc

        values[index] = p;
        lengths[index] = s.size();
        if ((p + s.size()) > (static_cast<char*>(storage) + storage_size)) {
          tsl::Set_TF_Status_from_Status(
              status,
              absl::InvalidArgumentError(
                  "Not enough storage to hold the requested list of nodes"));
          return;
        }
        memcpy(values[index], s.data(), s.size());
        p += s.size();
        index++;
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 15K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashMap.java

        }
        int size = this.size;
        if (size < requireEntries().length) {
          resizeEntries(size);
        }
        int minimumTableSize = CompactHashing.tableSize(size);
        int mask = hashTableMask();
        if (minimumTableSize < mask) { // smaller table size will always be less than current mask
          resizeTable(mask, minimumTableSize, UNSET, UNSET);
        }
      }
    
      @Override
      public void clear() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apiserverinternal/v1alpha1/generated.pb.go

    func (m *ServerStorageVersion) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *ServerStorageVersion) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top