Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for grow (0.05 sec)

  1. guava/src/com/google/common/escape/Platform.java

        return requireNonNull(DEST_TL.get());
      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
       * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep
       * going and grow as needed.
       */
      private static final ThreadLocal<char[]> DEST_TL =
          new ThreadLocal<char[]>() {
            @Override
            protected char[] initialValue() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/Platform.java

        return requireNonNull(DEST_TL.get());
      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
       * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep
       * going and grow as needed.
       */
      private static final ThreadLocal<char[]> DEST_TL =
          new ThreadLocal<char[]>() {
            @Override
            protected char[] initialValue() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue9400_linux.go

    			runtime.Gosched()
    		}
    		// Broadcast SIGSETXID
    		runtime.LockOSThread()
    		C.setgid(0)
    		// Indicate that signalling is done
    		atomic.StoreInt32(&issue9400.Baton, 0)
    	}()
    
    	// Grow the stack and put down a test pattern
    	const pattern = 0x123456789abcdef
    	var big [1024]uint64 // len must match assembly
    	for i := range big {
    		big[i] = pattern
    	}
    
    	// Disable GC for the duration of the test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/base/base.go

    			if logHeapTweaks {
    				fmt.Fprintf(os.Stderr, "GCAdjust: Regret unexpected KindBad for metric %s\n", s.Name)
    			}
    			return
    		}
    	}
    
    	// Tinker with GOGC to make the heap grow rapidly at first.
    	currentGoal := sample[GOAL].Value.Uint64() // Believe this will be 4MByte or less, perhaps 512k
    	myGogc := 100 * requestedHeapGoal / currentGoal
    	if myGogc <= 150 {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/dcl.go

    	autotmpnames   []string
    )
    
    // autotmpname returns the name for an autotmp variable numbered n.
    func autotmpname(n int) string {
    	autotmpnamesmu.Lock()
    	defer autotmpnamesmu.Unlock()
    
    	// Grow autotmpnames, if needed.
    	if n >= len(autotmpnames) {
    		autotmpnames = append(autotmpnames, make([]string, n+1-len(autotmpnames))...)
    		autotmpnames = autotmpnames[:cap(autotmpnames)]
    	}
    
    	s := autotmpnames[n]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. callbacks/update.go

    			return
    		}
    
    		if db.Statement.Schema != nil {
    			for _, c := range db.Statement.Schema.UpdateClauses {
    				db.Statement.AddClause(c)
    			}
    		}
    
    		if db.Statement.SQL.Len() == 0 {
    			db.Statement.SQL.Grow(180)
    			db.Statement.AddClauseIfNotExists(clause.Update{})
    			if _, ok := db.Statement.Clauses["SET"]; !ok {
    				if set := ConvertToAssignments(db.Statement); len(set) != 0 {
    					defer delete(db.Statement.Clauses, "SET")
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/const.go

    	// x.typ cannot be a type parameter (type
    	// parameters cannot be constant types).
    	if isTyped(x.typ) {
    		check.representable(x, under(x.typ).(*Basic))
    		return
    	}
    
    	// Untyped integer values must not grow arbitrarily.
    	const prec = 512 // 512 is the constant precision
    	if x.val.Kind() == constant.Int && constant.BitLen(x.val) > prec {
    		op := opName(x.expr)
    		if op != "" {
    			op += " "
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TableCollectors.java

        private final R row;
        private final C column;
        private V value;
    
        MutableCell(R row, C column, V value) {
          this.row = checkNotNull(row, "row");
          this.column = checkNotNull(column, "column");
          this.value = checkNotNull(value, "value");
        }
    
        @Override
        public R getRowKey() {
          return row;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/SparseImmutableTable.java

      // For each cell in iteration order, the index of that cell's row key in the row key list.
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] cellRowIndices;
    
      // For each cell in iteration order, the index of that cell's column key in the list of column
      // keys present in that row.
      @SuppressWarnings("Immutable") // We don't modify this after construction.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SparseImmutableTable.java

      // For each cell in iteration order, the index of that cell's row key in the row key list.
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] cellRowIndices;
    
      // For each cell in iteration order, the index of that cell's column key in the list of column
      // keys present in that row.
      @SuppressWarnings("Immutable") // We don't modify this after construction.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top