Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for Decrement (0.4 sec)

  1. cmd/erasure-utils.go

    		return 0, reedsolomon.ErrShortData
    	}
    
    	// Counter to decrement total left to write.
    	write := length
    
    	// Counter to increment total written.
    	var totalWritten int64
    
    	// Write all data blocks to dst.
    	for _, block := range enBlocks[:dataBlocks] {
    		// Skip blocks until we have reached our offset.
    		if offset >= int64(len(block)) {
    			// Decrement offset.
    			offset -= int64(len(block))
    			continue
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/sync/example_test.go

    	var urls = []string{
    		"http://www.golang.org/",
    		"http://www.google.com/",
    		"http://www.example.com/",
    	}
    	for _, url := range urls {
    		// Increment the WaitGroup counter.
    		wg.Add(1)
    		// Launch a goroutine to fetch the URL.
    		go func(url string) {
    			// Decrement the counter when the goroutine completes.
    			defer wg.Done()
    			// Fetch the URL.
    			http.Get(url)
    		}(url)
    	}
    	// Wait for all HTTP fetches to complete.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 17:45:47 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCompoundAccess.kt

            public enum class Kind {
                PLUS_ASSIGN, MINUS_ASSIGN, TIMES_ASSIGN, DIV_ASSIGN, REM_ASSIGN
            }
    
        }
    
        /**
         * A compound access that read, increment or decrement, and write the computed value back.
         */
        public class IncOrDecOperation(
            operationPartiallyAppliedSymbol: KaPartiallyAppliedFunctionSymbol<KaFunctionSymbol>,
            kind: Kind,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. pkg/monitoring/monitoring.go

    }
    
    // A Metric collects numerical observations.
    type Metric interface {
    	// Increment records a value of 1 for the current measure. For Sums,
    	// this is equivalent to adding 1 to the current value. For Gauges,
    	// this is equivalent to setting the value to 1. For Distributions,
    	// this is equivalent to making an observation of value 1.
    	Increment()
    
    	// Decrement records a value of -1 for the current measure. For Sums,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        abstract void compareAndSetSeenExceptions(
            AggregateFutureState<?> state, @CheckForNull Set<Throwable> expect, Set<Throwable> update);
    
        /** Atomic decrement-and-get of the {@link AggregateFutureState#remaining} field. */
        abstract int decrementAndGetRemainingCount(AggregateFutureState<?> state);
      }
    
      private static final class SafeAtomicHelper extends AtomicHelper {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultRedrawableLabelTest.groovy

            label.text = "text"
    
            when:
            redraw()
            redraw()
    
            then:
            1 * ansi.a('text')
            0 * ansi._
        }
    
        def "scrolling the label down will decrement the write position rows by #rows"() {
            given:
            int previousWriteRow = label.writePosition.row
    
            when:
            label.scrollDownBy(rows)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/inittask.go

    		}
    
    		// Find all incoming edges into s.
    		a := sort.Search(len(edges), func(i int) bool { return edges[i].to >= s })
    		b := sort.Search(len(edges), func(i int) bool { return edges[i].to > s })
    
    		// Decrement the import count for all packages that import s.
    		// If the count reaches 0, that package is now ready to schedule.
    		for _, e := range edges[a:b] {
    			m[e.from]--
    			if m[e.from] == 0 {
    				h.push(ldr, e.from)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/chacha20/chacha_s390x.s

    	SHUFFLE(X12, X13, X14, X15, M0, M1, M2, M3)
    	ADDV(NONCE, X12, X13, X14, X15)
    
    	// increment counters
    	VAF INC, CTR, CTR
    
    	// xor keystream with plaintext
    	XORV(0*64, R2, R3, X0, X4,  X8, X12)
    	XORV(1*64, R2, R3, X1, X5,  X9, X13)
    	XORV(2*64, R2, R3, X2, X6, X10, X14)
    	XORV(3*64, R2, R3, X3, X7, X11, X15)
    
    	// increment pointers
    	MOVD $256(R2), R2
    	MOVD $256(R3), R3
    
    	CMPBNE  R4, $0, chacha
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        abstract void compareAndSetSeenExceptions(
            AggregateFutureState<?> state, @CheckForNull Set<Throwable> expect, Set<Throwable> update);
    
        /** Atomic decrement-and-get of the {@link AggregateFutureState#remaining} field. */
        abstract int decrementAndGetRemainingCount(AggregateFutureState<?> state);
      }
    
      private static final class SafeAtomicHelper extends AtomicHelper {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. pkg/monitoring/monitoring_test.go

    		for n := 0; n < b.N; n++ {
    			testSum.Increment()
    		}
    	})
    	b.Run("dynamic labels", func(b *testing.B) {
    		for n := 0; n < b.N; n++ {
    			testSum.With(name.Value("test")).Increment()
    		}
    	})
    	b.Run("static labels", func(b *testing.B) {
    		testSum := testSum.With(name.Value("test"))
    		for n := 0; n < b.N; n++ {
    			testSum.Increment()
    		}
    	})
    }
    
    func BenchmarkGauge(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top