Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 102 for interleaved (0.15 sec)

  1. docs/contribute/concurrency.md

    #### Http2Writer
    
    Socket writes are guarded by the Http2Writer. Only one stream can write at a time so that messages are not interleaved. Writes are either made by application-layer threads or the do-stuff-later pool.
    
    ### Holding multiple locks
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  2. src/html/template/template.go

    // execution stops, but partial results may already have been written to
    // the output writer.
    // A template may be executed safely in parallel, although if parallel
    // executions share a Writer the output may be interleaved.
    func (t *Template) Execute(wr io.Writer, data any) error {
    	if err := t.escape(); err != nil {
    		return err
    	}
    	return t.text.Execute(wr, data)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. src/go/types/stdlib_test.go

    	"crypto/internal/bigmod/_asm":             true,
    }
    
    // printPackageMu synchronizes the printing of type-checked package files in
    // the typecheckFiles function.
    //
    // Without synchronization, package files may be interleaved during concurrent
    // type-checking.
    var printPackageMu sync.Mutex
    
    // typecheckFiles typechecks the given package files.
    func typecheckFiles(path string, filenames []string, importer Importer) (*Package, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    		// TODO(adonovan): ValueSpec.{Doc,Comment}?
    
    	case *ast.BadDecl, *ast.BadExpr, *ast.BadStmt:
    		// nop
    	}
    
    	// TODO(adonovan): opt: merge the logic of ast.Inspect() into
    	// the switch above so we can make interleaved callbacks for
    	// both Nodes and Tokens in the right order and avoid the need
    	// to sort.
    	sort.Sort(byPos(children))
    
    	return children
    }
    
    type byPos []ast.Node
    
    func (sl byPos) Len() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. src/image/jpeg/reader.go

    		case 1:
    			// If a JPEG image has only one component, section A.2 says "this data
    			// is non-interleaved by definition" and section A.2.2 says "[in this
    			// case...] the order of data units within a scan shall be left-to-right
    			// and top-to-bottom... regardless of the values of H_1 and V_1". Section
    			// 4.8.2 also says "[for non-interleaved data], the MCU is defined to be
    			// one data unit". Similarly, section A.1.1 explains that it is the ratio
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

        for (auto [replica_id, partitioned_output] : llvm::enumerate(ops)) {
          for (auto [core_id, result] :
               llvm::enumerate(partitioned_output->getResults())) {
            // outputs from replicate op are interleaved:
            // [(replica:0,core:0), (replica:1,core:0), ...,
            //  (replica:0,core:1), (replica:1,core:1), ...]
            uint64_t output_id =
                core_id * num_replicas + replica_id + results.size();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/stdlib_test.go

    	"crypto/internal/bigmod/_asm":             true,
    }
    
    // printPackageMu synchronizes the printing of type-checked package files in
    // the typecheckFiles function.
    //
    // Without synchronization, package files may be interleaved during concurrent
    // type-checking.
    var printPackageMu sync.Mutex
    
    // typecheckFiles typechecks the given package files.
    func typecheckFiles(path string, filenames []string, importer Importer) (*Package, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir

      // CHECK-NEXT: return %[[CONST]], %[[CONST]] : tensor<f32>, tensor<f32>
      func.return %1 : tensor<f32>
    }
    
    // -----
    
    // Tests read interleaved between writes.
    
    // CHECK-LABEL: func @main
    // CHECK-SAME: %{{[a-z0-9]+}}: tensor<f32> {tf.aliasing_output = 1 : i64}
    // CHECK-SAME: %arg1: tensor<i1>
    // CHECK-SAME: -> (tensor<f32>, tensor<f32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  9. pkg/kubelet/util/manager/cache_based_manager_test.go

    	}
    
    	// precondition: no references
    	assert.Equal(t, 0, refs("nsinterleaved", "secret1"))
    	assert.Equal(t, 0, refs("nsinterleaved", "secret2"))
    
    	// add first pod that references secret1 only
    	manager.RegisterPod(podWithSecretsAndUID("nsinterleaved", "pod", "poduid1", secret1))
    	assert.Equal(t, 1, refs("nsinterleaved", "secret1"))
    	assert.Equal(t, 0, refs("nsinterleaved", "secret2"))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ProviderInternal.java

     * some implementations retry the failed calculation.
     * </p>
     *
     * <p>Currently the "fixed" and "changing" states have definitions that refer to configuration time and execution time.
     * As these phases gradually become more interleaved, we might generalize these states so that the value is "changing" only until its inputs are known and all such inputs have a "fixed" value.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top