Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for loop (0.15 sec)

  1. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

        // Special case some of the weird HTTP Header names...
        ImmutableBiMap<String, String> specialCases =
            ImmutableBiMap.<String, String>builder()
                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
                .put("SOURCE_MAP", "SourceMap")
                .put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64")
                .put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

      var maxStaleSeconds = -1
      var minFreshSeconds = -1
      var onlyIfCached = false
      var noTransform = false
      var immutable = false
    
      var canUseHeaderValue = true
      var headerValue: String? = null
    
      loop@ for (i in 0 until headers.size) {
        val name = headers.name(i)
        val value = headers.value(i)
    
        when {
          name.equals("Cache-Control", ignoreCase = true) -> {
            if (headerValue != null) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. configure.py

      """
      var = environ_cp.get(var_name)
      if not var:
        var = get_input(ask_for_var)
        print('\n')
      if not var:
        var = var_default
      return var
    
    
    def prompt_loop_or_load_from_env(environ_cp,
                                     var_name,
                                     var_default,
                                     ask_for_var,
                                     check_success,
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                    // Remove the waiter, one way or another we are done parking this thread.
                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waiters; // re-read and loop.
            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read value, if we get here then we must have observed a TOMBSTONE while trying to add a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                firFunctionDeclarations.add(function)
                super.visitFunction(function)
            }
    
            override fun visitLoop(loop: FirLoop) {
                firLoopStatements.add(loop)
                super.visitLoop(loop)
            }
    
            override fun visitReturnExpression(returnExpression: FirReturnExpression) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  6. cmd/license-update.go

    		// will keep performing the license update. If the leader goes down for some
    		// reason, the lock will be released and another node will acquire it and
    		// take over because of this loop.
    		for {
    			licenceUpdaterLoop(ctx, objAPI)
    
    			// license update stopped for some reason.
    			// sleep for some time and try again.
    			duration := time.Duration(r.Float64() * float64(time.Hour))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.cc

        if (new_node == nullptr) continue;
        parent->name_map[new_node->name()] = new_node;
      }
    
      // Populate 'outputs'.
      DCHECK_LE(loop_outputs.size(), num_loop_vars);
      for (int i = 0; i < loop_outputs.size(); ++i) {
        outputs[i] = {ToOperation(loop_outputs[i].node()), loop_outputs[i].index()};
      }
    }
    
    }  // namespace
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Protocol.kt

         *
         * @throws IOException if `protocol` is unknown.
         */
        @JvmStatic
        @Throws(IOException::class)
        fun get(protocol: String): Protocol {
          // Unroll the loop over values() to save an allocation.
          @Suppress("DEPRECATION")
          return when (protocol) {
            HTTP_1_0.protocol -> HTTP_1_0
            HTTP_1_1.protocol -> HTTP_1_1
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:17:33 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. cmd/callhome.go

    		// will keep performing the callhome. If the leader goes down for some reason,
    		// the lock will be released and another node will acquire it and take over
    		// because of this loop.
    		for {
    			if !globalCallhomeConfig.Enabled() {
    				return
    			}
    
    			if !runCallhome(ctx, objAPI) {
    				// callhome was disabled or context was canceled
    				return
    			}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

        useSiteSession: FirSession,
        annotationContainer: FirAnnotationContainer = firSymbol.fir,
    ): Boolean {
        return if (firSymbol.isFromCompilerRequiredAnnotationsPhase(classId, useSiteSession)) {
            // this loop by index is required to avoid possible ConcurrentModificationException
            val annotations = annotationContainer.resolvedCompilerRequiredAnnotations(firSymbol)
            for (index in annotations.indices) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top