Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 286 for hero (0.32 sec)

  1. android/guava/src/com/google/common/collect/MoreCollectors.java

              ToOptionalState::add,
              ToOptionalState::combine,
              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. scan.go

    			)
    
    			if !update || reflectValue.Len() == 0 {
    				update = false
    				if isArrayKind {
    					db.Statement.ReflectValue.Set(reflect.Zero(reflectValue.Type()))
    				} else {
    					// if the slice cap is externally initialized, the externally initialized slice is directly used here
    					if reflectValue.Cap() == 0 {
    						db.Statement.ReflectValue.Set(reflect.MakeSlice(reflectValue.Type(), 0, 20))
    					} else {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	if info.Size() < minFileLen {
    		if _, err := f.WriteAt(hdr, 0); err != nil {
    			return nil, err
    		}
    		// Write zeros at the end of the file to extend it to minFileLen.
    		if _, err := f.WriteAt(m.zero[:], int64(minFileLen-len(m.zero))); err != nil {
    			return nil, err
    		}
    		info, err = f.Stat()
    		if err != nil {
    			return nil, err
    		}
    		if info.Size() < minFileLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    	if _, ok := x.(*ast.CompositeLit); ok {
    		return nil
    	}
    	if _, ok := x.(*ast.CallExpr); ok {
    		// A call may return a zero value.
    		return nil
    	}
    	if star, ok := x.(*ast.StarExpr); ok {
    		if _, ok := astutil.Unparen(star.X).(*ast.CallExpr); ok {
    			// A call may return a pointer to a zero value.
    			return nil
    		}
    	}
    	if tv, ok := pass.TypesInfo.Types[x]; ok && tv.IsValue() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/generic.rules

    // Don't Zero variables that are immediately completely overwritten
    // before being accessed.
    (Move {t} [n] dst1 src1 zero:(Zero {t} [n] dst2 mem))
    	&& zero.Uses == 1
    	&& isSamePtr(dst1, dst2) && disjoint(src1, n, dst2, n)
    	&& clobber(zero)
    	=> (Move {t} [n] dst1 src1 mem)
    (Move {t} [n] dst1 src1 vardef:(VarDef {x} zero:(Zero {t} [n] dst2 mem)))
    	&& zero.Uses == 1 && vardef.Uses == 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/loong64/a.out.go

    	REG_FCC25
    	REG_FCC26
    	REG_FCC27
    	REG_FCC28
    	REG_FCC29
    	REG_FCC30
    	REG_FCC31
    
    	REG_LAST = REG_FCC31 // the last defined register
    
    	REG_SPECIAL = REG_FCSR0
    
    	REGZERO = REG_R0 // set to zero
    	REGLINK = REG_R1
    	REGSP   = REG_R3
    	REGRET  = REG_R20 // not use
    	REGARG  = -1      // -1 disables passing the first argument in register
    	REGRT1  = REG_R20 // reserved for runtime, duffzero and duffcopy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Striped64.java

    /*
     * Written by Doug Lea with assistance from members of JCP JSR-166
     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/Striped64.java?revision=1.9
     */
    
    package com.google.common.hash;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Random;
    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

    /*
     * Written by Doug Lea with assistance from members of JCP JSR-166
     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/Striped64.java?revision=1.9
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Random;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/Striped64.java

    /*
     * Written by Doug Lea with assistance from members of JCP JSR-166
     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/Striped64.java?revision=1.9
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Random;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            assertTrue(ZERO.setBit(result).compareTo(x) <= 0);
            assertTrue(ZERO.setBit(result + 1).compareTo(x) > 0);
          }
        }
      }
    
      public void testLog2Ceiling() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          for (RoundingMode mode : asList(CEILING, UP)) {
            int result = BigIntegerMath.log2(x, mode);
            assertTrue(ZERO.setBit(result).compareTo(x) >= 0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top