Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for capmem (0.2 sec)

  1. src/runtime/slice.go

    		newcap = int(capmem >> shift)
    		capmem = uintptr(newcap) << shift
    	default:
    		lenmem = uintptr(oldLen) * et.Size_
    		newlenmem = uintptr(newLen) * et.Size_
    		capmem, overflow = math.MulUintptr(et.Size_, uintptr(newcap))
    		capmem = roundupsize(capmem, noscan)
    		newcap = int(capmem / et.Size_)
    		capmem = uintptr(newcap) * et.Size_
    	}
    
    	// The check of overflow in addition to capmem > maxAlloc is needed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. test/codegen/comparisons.go

    // possible
    
    func CmpMem1(p int, q *int) bool {
    	// amd64:`CMPQ\t\(.*\), [A-Z]`
    	return p < *q
    }
    
    func CmpMem2(p *int, q int) bool {
    	// amd64:`CMPQ\t\(.*\), [A-Z]`
    	return *p < q
    }
    
    func CmpMem3(p *int) bool {
    	// amd64:`CMPQ\t\(.*\), [$]7`
    	return *p < 7
    }
    
    func CmpMem4(p *int) bool {
    	// amd64:`CMPQ\t\(.*\), [$]7`
    	return 7 < *p
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. cmd/handler-api.go

    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV1*2+blockSizeV2*2)))
    		} else {
    			// ram_per_request is (1MiB+32KiB) * driveCount \
    			//    + 2 * 1MiB (default erasure block size v2)
    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV2*2)))
    		}
    	} else {
    		apiRequestsMaxPerNode = cfg.RequestsMax
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 08:13:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go

    			},
    			counts: map[string]int64{
    				"events.foo.bar": 799,
    			},
    			maxSeats:             10,
    			initialSeatsExpected: 8,
    		},
    		{
    			name:       "request verb is list, maximum is capped",
    			requestURI: "http://server/apis/foo.bar/v1/events?resourceVersion=foo",
    			requestInfo: &apirequest.RequestInfo{
    				Verb:     "list",
    				APIGroup: "foo.bar",
    				Resource: "events",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/FileContentGenerator.groovy

                                <target>1.8</target>
                                <fork>true</fork>
                                <meminitial>${config.compilerMemory}</meminitial>
                                <maxmem>${config.compilerMemory}</maxmem>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/size.go

    		default:
    			t.intRegs = math.MaxUint8
    			t.floatRegs = math.MaxUint8
    		}
    		switch a := t.Elem().alg; a {
    		case AMEM, ANOEQ, ANOALG:
    			t.setAlg(a)
    		default:
    			switch t.NumElem() {
    			case 0:
    				// We checked above that the element type is comparable.
    				t.setAlg(AMEM)
    			case 1:
    				// Single-element array is same as its lone element.
    				t.setAlg(a)
    			default:
    				t.setAlg(ASPECIAL)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Striped64.java

       * exists, a CAS is tried.  Retries proceed by "double hashing",
       * using a secondary hash (Marsaglia XorShift) to try to find a
       * free slot.
       *
       * The table size is capped because, when there are more threads
       * than CPUs, supposing that each thread were bound to a CPU,
       * there would exist a perfect hash function mapping threads to
       * slots that eliminates collisions. When we reach capacity, we
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

       * exists, a CAS is tried.  Retries proceed by "double hashing",
       * using a secondary hash (Marsaglia XorShift) to try to find a
       * free slot.
       *
       * The table size is capped because, when there are more threads
       * than CPUs, supposing that each thread were bound to a CPU,
       * there would exist a perfect hash function mapping threads to
       * slots that eliminates collisions. When we reach capacity, we
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (2)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java

                } else {
                    formatter.format(", '%s'", name);
                }
            }
            return formatter.toString();
        }
    
        /**
         * Converts an arbitrary string to a camel-case string which can be used in a Java identifier. Eg, with_underscores -&gt; withUnderscores
         */
        public static String toCamelCase(CharSequence string) {
            return toCamelCase(string, false);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

                } else {
                    formatter.format(", '%s'", name);
                }
            }
            return formatter.toString();
        }
    
        /**
         * Converts an arbitrary string to a camel-case string which can be used in a Java identifier. Eg, with_underscores -&gt; withUnderscores
         */
        public static String toCamelCase(CharSequence string) {
            return toCamelCase(string, false);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top