Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for Mlock (0.07 sec)

  1. tensorflow/c/c_api.cc

    // call Session::Extend().
    bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) {
      if (session->graph != nullptr) {
        // Take the graph lock before the session lock to avoid deadlock. This is
        // safe since session->graph does not change.
        session->graph->mu.lock();
        mutex_lock session_lock(session->mu);
        const Graph& graph = session->graph->graph;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. cluster/gce/gci/configure-helper.sh

          unique-uuid-bind-mount "${mountpoint}" "${actual_device}"
        fi
      elif [[ "${format}" == "block" ]]; then
        local symdir="${UUID_BLOCK_PREFIX}-${interface}-block"
        safe-block-symlink "${ssd}" "${symdir}"
      else
        echo "Disk format must be either fs or block, got ${format}"
      fi
    }
    
    # Local ssds, if present, are mounted or symlinked to their appropriate
    # locations
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        body.push_back(new Block);
        Block& block = body.back();
        Operation* controlled_op =
            parser.parseGenericOperation(&block, block.begin());
        if (!controlled_op) return failure();
        OpBuilder builder(parser.getBuilder().getContext());
        builder.setInsertionPointToEnd(&block);
        builder.create<YieldOp>(controlled_op->getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	_, err := registry.DeleteCollection(ctx, func(ctx context.Context, obj runtime.Object) error {
    		lock.Lock()
    		defer lock.Unlock()
    		if called {
    			t.Errorf("Delete called more than once, so context cancellation didn't work")
    		} else {
    			cancel()
    			called = true
    		}
    		return nil
    	}, nil, &metainternalversion.ListOptions{})
    	if err != context.Canceled {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/s390x/asmz.go

    	op_STCH    uint32 = 0xE3C3 // FORMAT_RXY1       STORE CHARACTER HIGH (8)
    	op_STCK    uint32 = 0xB205 // FORMAT_S          STORE CLOCK
    	op_STCKC   uint32 = 0xB207 // FORMAT_S          STORE CLOCK COMPARATOR
    	op_STCKE   uint32 = 0xB278 // FORMAT_S          STORE CLOCK EXTENDED
    	op_STCKF   uint32 = 0xB27C // FORMAT_S          STORE CLOCK FAST
    	op_STCM    uint32 = 0xBE00 // FORMAT_RS2        STORE CHARACTERS UNDER MASK (low)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods.go

    		if !ok || vol.BlockVolumeMapper == nil {
    			klog.ErrorS(nil, "Block volume cannot be satisfied for container, because the volume is missing or the volume mapper is nil", "containerName", container.Name, "device", device)
    			return nil, fmt.Errorf("cannot find volume %q to pass into container %q", device.Name, container.Name)
    		}
    		// Get a symbolic link associated to a block device under pod device path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  7. src/crypto/x509/verify_test.go

    		t.Fatalf("error was not an UnhandledCriticalExtension: %v", err)
    	}
    }
    
    func certificateFromPEM(pemBytes string) (*Certificate, error) {
    	block, _ := pem.Decode([]byte(pemBytes))
    	if block == nil {
    		return nil, errors.New("failed to decode PEM")
    	}
    	return ParseCertificate(block.Bytes)
    }
    
    func testVerify(t *testing.T, test verifyTest, useSystemRoots bool) {
    	opts := VerifyOptions{
    		Intermediates: NewCertPool(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      }
    
      // check that rank of input_type >= block_rank + 1
      if (input_type.hasRank() && input_type.getRank() < 1 + block_rank) {
        return op.emitOpError() << "requires rank of input >= 1 + rank of block";
      }
    
      ElementsAttr block_shape_attr = nullptr;
      ElementsAttr paddings_attr = nullptr;
    
      // Check that block_shape[*] >= 1.
      if (matchPattern(op.getBlockShape(), m_Constant(&block_shape_attr))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller_test.go

    	"k8s.io/kubernetes/pkg/controller/job/metrics"
    	"k8s.io/kubernetes/pkg/controller/testutil"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/utils/clock"
    	clocktesting "k8s.io/utils/clock/testing"
    	"k8s.io/utils/ptr"
    )
    
    var realClock = &clock.RealClock{}
    var alwaysReady = func() bool { return true }
    
    const fastSyncJobBatchPeriod = 10 * time.Millisecond
    const fastJobApiBackoff = 10 * time.Millisecond
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_control_test.go

    		return
    	}
    	if rt.parallelLock.TryLock() {
    		// lock acquired: we are the only or the first concurrent request
    		// initialize the next set of parallel requests
    		rt.parallelRequests = 1
    	} else {
    		// lock is held by other requests
    		// now wait for the lock to increase the parallelRequests
    		rt.parallelLock.Lock()
    		rt.parallelRequests++
    	}
    	defer rt.parallelLock.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
Back to top