Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for decrement (0.2 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        val relay = edit(file, upstream, metadata, 1024)
        val source1 = relay.newSource()
        val source2 = relay.newSource()
        source1!!.close()
        source1.close() // Unnecessary. Shouldn't decrement the reference count.
        assertThat(relay.isClosed).isFalse()
        source2!!.close()
        assertThat(relay.isClosed).isTrue()
        assertFile(Relay.PREFIX_DIRTY, -1L, -1, null, null)
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/http-stats.go

    	}
    
    	if w == nil { // when response recorder nil, this is an active request
    		hstats.currentS3Requests.Inc(api)
    		bh.httpStats[bucket] = hstats
    		return
    	} // else {
    	hstats.currentS3Requests.Dec(api) // decrement this once we have the response recorder.
    
    	hstats.totalS3Requests.Inc(api)
    	code := w.StatusCode
    
    	switch {
    	case code == 0:
    	case code == 499:
    		// 499 is a good error, shall be counted as canceled.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. common/config/.golangci.yml

          - name: unexported-return
          - name: errorf
          - name: context-as-argument
          - name: dot-imports
          - name: error-return
          - name: error-strings
          - name: error-naming
          - name: increment-decrement
          - name: var-naming
          - name: package-comments
          - name: range
          - name: receiver-naming
          - name: indent-error-flow
          - name: superfluous-else
          - name: modifies-parameter
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

                if (fir.lValue.source?.psi == expression) {
                    fir.lValue.resolvedType.asKtType()
                } else if (expression is KtUnaryExpression && expression.operationToken in KtTokens.INCREMENT_AND_DECREMENT) {
                    fir.rValue.resolvedType.asKtType()
                } else {
                    analysisSession.builtinTypes.UNIT
                }
            }
            is FirExpression -> fir.resolvedType.asKtType()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            val unaryExpression = parentOfType<KtUnaryExpression>() ?: return null
            if (deparenthesize(unaryExpression.baseExpression) != baseExpression ||
                unaryExpression.operationToken !in KtTokens.INCREMENT_AND_DECREMENT
            ) return null
            return unaryExpression
        }
    
        /**
         * When resolving selector expression of a [KtDotQualifiedExpression], we instead resolve the containing qualified expression. This way
    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)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

        }
    
        private fun handleAsIncOrDecOperator(context: BindingContext, unaryExpression: KtUnaryExpression): KtCallInfo? {
            if (unaryExpression.operationToken !in KtTokens.INCREMENT_AND_DECREMENT) return null
            val operatorCall = unaryExpression.getResolvedCall(context) ?: return null
            val resolvedCalls = mutableListOf(operatorCall)
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /**
         * Removes an entry from within a table. All entries following the removed node can stay, but
         * all preceding ones need to be cloned.
         *
         * <p>This method does not decrement count for the removed entry, but does decrement count for
         * all partially collected entries which are skipped. As such callers which are modifying count
         * must re-read it after calling removeFromChain.
         *
    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)
  8. cmd/bucket-replication.go

    	if dobj.VersionID != "" {
    		prevStatus = replication.StatusType(dobj.VersionPurgeStatus())
    		replicationStatus = replication.StatusType(rinfos.VersionPurgeStatus())
    	}
    
    	// to decrement pending count later.
    	for _, rinfo := range rinfos.Targets {
    		if rinfo.ReplicationStatus != rinfo.PrevReplicationStatus {
    			globalReplicationStats.Update(dobj.Bucket, rinfo, replicationStatus,
    				prevStatus)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  9. doc/go1.17_spec.html

    </p>
    
    <pre>
    ch &lt;- 3  // send value 3 to channel ch
    </pre>
    
    
    <h3 id="IncDec_statements">IncDec statements</h3>
    
    <p>
    The "++" and "--" statements increment or decrement their operands
    by the untyped <a href="#Constants">constant</a> <code>1</code>.
    As with an assignment, the operand must be <a href="#Address_operators">addressable</a>
    or a map index expression.
    </p>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. doc/go_spec.html

    </p>
    
    <pre>
    ch &lt;- 3  // send value 3 to channel ch
    </pre>
    
    
    <h3 id="IncDec_statements">IncDec statements</h3>
    
    <p>
    The "++" and "--" statements increment or decrement their operands
    by the untyped <a href="#Constants">constant</a> <code>1</code>.
    As with an assignment, the operand must be <a href="#Address_operators">addressable</a>
    or a map index expression.
    </p>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top