Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Pointer (0.19 sec)

  1. cmd/test-utils_test.go

    		}
    		if idx := int(cache & letterIdxMask); idx < len(letterBytes) {
    			b[i] = letterBytes[idx]
    			i--
    		}
    		cache >>= letterIdxBits
    		remain--
    	}
    
    	return *(*string)(unsafe.Pointer(&b))
    }
    
    // generate random object name.
    func getRandomObjectName() string {
    	return randString(16)
    }
    
    // generate random bucket name.
    func getRandomBucketName() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    // unless all have that, in which case all are preserved.
    func (p serverPoolsAvailableSpace) FilterMaxUsed(max int) {
    	// We aren't modifying p, only entries in it, so we don't need to receive a pointer.
    	if len(p) <= 1 {
    		// Nothing to do.
    		return
    	}
    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			ok = true
    			break
    		}
    	}
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

    import org.jetbrains.kotlin.analysis.low.level.api.fir.resolver.AllCandidatesResolver
    import org.jetbrains.kotlin.analysis.low.level.api.fir.util.ContextCollector
    import org.jetbrains.kotlin.analysis.utils.printer.parentOfType
    import org.jetbrains.kotlin.analysis.utils.printer.parentsOfType
    import org.jetbrains.kotlin.fir.*
    import org.jetbrains.kotlin.fir.declarations.*
    import org.jetbrains.kotlin.fir.declarations.builder.buildImport
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

       * Future}.
       *
       * <p>Usage example:
       *
       * <pre>{@code
       * ListenableFuture<Integer> fetchCounterFuture = ...;
       *
       * // Falling back to a zero counter in case an exception happens when
       * // processing the RPC to fetch counters.
       * ListenableFuture<Integer> faultTolerantFuture = Futures.catching(
       *     fetchCounterFuture, FetchException.class, x -> 0, directExecutor());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>Note that if any input set is empty, the Cartesian product will also be empty. If no sets at
       * all are provided (an empty list), the resulting Cartesian product has one element, an empty
       * list (counter-intuitive, but mathematically consistent).
       *
       * <p><i>Performance notes:</i> while the cartesian product of sets of size {@code m, n, p} is a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

        }
        op_name += type;
        return TF_NewOperation(
            graph_, op_name.c_str(),
            ::tensorflow::strings::StrCat("name", counter_++).c_str());
      }
    
      TF_Status* s_;
    
     private:
      TF_Graph* graph_;
      int counter_;
    };
    
    // Helper macros for the TF_OperationGetAttr* tests.
    // TODO(ashankar): Use gmock matchers instead?
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

    import org.jetbrains.kotlin.analysis.low.level.api.fir.util.errorWithFirSpecificEntries
    import org.jetbrains.kotlin.analysis.utils.errors.withPsiEntry
    import org.jetbrains.kotlin.analysis.utils.printer.parentOfType
    import org.jetbrains.kotlin.fir.FirElement
    import org.jetbrains.kotlin.fir.analysis.checkers.toRegularClassSymbol
    import org.jetbrains.kotlin.fir.declarations.FirResolvePhase
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * always {@code (int) (capacity * 0.75)}.)
         */
        int threshold;
    
        /** The per-segment table. */
        @CheckForNull volatile AtomicReferenceArray<E> table;
    
        /**
         * A counter of the number of reads since the last write, used to drain queues on a small
         * fraction of read operations.
         */
        final AtomicInteger readCount = new AtomicInteger();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
Back to top