Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,131 for pcount (0.12 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

                int currentPos = offset;
                while (remaining > 0) {
                    int count = Math.min(remaining, buffer.remaining());
                    if (count > 0) {
                        buffer.put(src, currentPos, count);
                        remaining -= count;
                        currentPos += count;
                    }
                    while (buffer.remaining() == 0) {
                        writeBufferToChannel();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. docs/site-replication/run-ssec-object-replication.sh

    ./mc ls minio1/test-bucket --insecure
    count1=$(./mc ls minio1/test-bucket/plainfile --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/plainfile not found"
    	exit_1
    fi
    count2=$(./mc ls minio1/test-bucket/encrypted --insecure | wc -l)
    if [ "${count2}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/encrypted not found"
    	exit_1
    fi
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest.groovy

            def settingsText = ""
            numProjects.times { count ->
                settingsText += "include 'project$count'\n"
            }
            resources.dir.file("settings.gradle") << settingsText
    
            numProjects.times { count ->
                def projectDir = resources.dir.createDir("project$count")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java

        }
    
        @Override
        protected int maybeReadBytes(byte[] buffer, int offset, int count) throws IOException {
            return inputStream.read(buffer, offset, count);
        }
    
        @Override
        protected long maybeSkip(long count) throws IOException {
            return inputStream.skip(count);
        }
    
        @Override
        public long readLong() throws IOException {
            return inputStream.readLong();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. tests/integration/telemetry/api/accesslogs_test.go

    			time.Sleep(time.Second * 2)
    			count = logCount(t, to, testID)
    			if count > 0 != expectLogs {
    				return fmt.Errorf("expected logs '%v', got %v", expectLogs, count)
    			}
    			return nil
    		})
    	}
    }
    
    func logCount(t test.Failer, to echo.Target, testID string) float64 {
    	counts := map[string]float64{}
    	for _, w := range to.WorkloadsOrFail(t) {
    		var logs string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. src/slices/slices_test.go

    	for _, tc := range []struct {
    		x     []int
    		count int
    		want  []int
    	}{
    		{x: []int(nil), count: 0, want: []int{}},
    		{x: []int(nil), count: 1, want: []int{}},
    		{x: []int(nil), count: math.MaxInt, want: []int{}},
    		{x: []int{}, count: 0, want: []int{}},
    		{x: []int{}, count: 1, want: []int{}},
    		{x: []int{}, count: math.MaxInt, want: []int{}},
    		{x: []int{0}, count: 0, want: []int{}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. src/syscall/getdirentries_test.go

    	"slices"
    	"strings"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    func TestGetdirentries(t *testing.T) {
    	for _, count := range []int{10, 1000} {
    		t.Run(fmt.Sprintf("n=%d", count), func(t *testing.T) {
    			testGetdirentries(t, count)
    		})
    	}
    }
    func testGetdirentries(t *testing.T, count int) {
    	if count > 100 && testing.Short() && os.Getenv("GO_BUILDER_NAME") == "" {
    		t.Skip("skipping in -short mode")
    	}
    	d := t.TempDir()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/arithmetic_count_util.h

        auto output = op->getResult(0);
        auto output_type =
            mlir::dyn_cast_or_null<mlir::RankedTensorType>(output.getType());
        if (!output_type || !output_type.hasStaticShape()) return false;
    
        *count = output_type.getNumElements();
        return true;
      }
    
      static bool GetInputTensorTotalSize(mlir::Operation* op, int64_t* count) {
        int64_t total_count = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java

        protected int maybeReadBytes(byte[] buffer, int offset, int count) {
            return input.read(buffer, offset, count);
        }
    
        @Override
        protected long maybeSkip(long count) throws IOException {
            // Work around some bugs in Input.skip()
            int remaining = input.limit() - input.position();
            if (remaining == 0) {
                long skipped = inputStream.skip(count);
                if (skipped > 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

            }
    
            when:
            run("count")
    
            then:
            output.count("service:") == 6
            output.count("service: created with value = 10") == 2
            output.count("service: value is 11") == 2
            output.count("service: closed with value 11")
    
            when:
            run("count")
    
            then:
            output.count("service:") == 3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
Back to top