Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,351 for routine (0.3 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/export_utils.h

    //
    // TODO(b/145706023): When the ExecutorToControlDialectConversion pass runs
    // before the exporter, it mutates an mlir::TF::LegacyCallOp instruction to
    // an instruction with a different operation name. As such, this routine checks
    // both forms of a LegacyCall instruction. We only need to check for
    // mlir::TF::LegacyCallOp when the ticket is resolved.
    bool IsLegacyCallInstruction(mlir::Operation* inst);
    }  // namespace tensorflow
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex.go

    		refreshInterval:      drwMutexRefreshInterval,
    		lockRetryMinInterval: lockRetryMinInterval,
    	}
    }
    
    // Lock holds a write lock on dm.
    //
    // If the lock is already in use, the calling go routine
    // blocks until the mutex is available.
    func (dm *DRWMutex) Lock(id, source string) {
    	isReadLock := false
    	dm.lockBlocking(context.Background(), nil, id, source, isReadLock, Options{
    		Timeout: drwMutexInfinite,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                bufferIndex += server.encryptionKeyLength;
                if( byteCount > server.encryptionKeyLength ) {
                    int len = 0;
    // TODO: we can use new string routine here
                    try {
                        if(( flags2 & FLAGS2_UNICODE ) == FLAGS2_UNICODE ) {
                            while( buffer[bufferIndex + len] != (byte)0x00 ||
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  4. test/nilptr.go

    	var x []byte = p[0:] // should panic
    	_ = x
    }
    
    var q *[1 << 30]byte
    
    func p4() {
    	// Array to slice.
    	var x []byte
    	var y = &x
    	*y = q[0:] // should crash (uses arraytoslice runtime routine)
    }
    
    func fb([]byte) {
    	panic("unreachable")
    }
    
    func p5() {
    	// Array to slice.
    	var p *[1 << 30]byte = nil
    	fb(p[0:]) // should crash
    }
    
    func p6() {
    	// Array to slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. test/nilptr_aix.go

    	var x []byte = p[0:] // should panic
    	_ = x
    }
    
    var q *[1 << 33]byte
    
    func p4() {
    	// Array to slice.
    	var x []byte
    	var y = &x
    	*y = q[0:] // should crash (uses arraytoslice runtime routine)
    }
    
    func fb([]byte) {
    	panic("unreachable")
    }
    
    func p5() {
    	// Array to slice.
    	var p *[1 << 33]byte = nil
    	fb(p[0:]) // should crash
    }
    
    func p6() {
    	// Array to slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. internal/logger/target/kafka/kafka.go

    	if logCh != nil {
    		// We are not allowed to add when logCh is nil
    		h.wg.Add(1)
    		defer h.wg.Done()
    
    	}
    	h.logChMu.RUnlock()
    
    	if logCh == nil {
    		return
    	}
    
    	// Create a routine which sends json logs received
    	// from an internal channel.
    	for entry := range logCh {
    		h.logEntry(entry)
    	}
    }
    
    func (h *Target) logEntry(entry interface{}) {
    	atomic.AddInt64(&h.totalMessages, 1)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/runtime/mkduff.go

    // The compiler jumps to computed addresses within
    // the routine to zero chunks of memory.
    // Do not change duffzero without also
    // changing the uses in cmd/compile/internal/*/*.go.
    
    // runtime·duffcopy is a Duff's device for copying memory.
    // The compiler jumps to computed addresses within
    // the routine to copy chunks of memory.
    // Source and destination must not overlap.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:21 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. internal/lock/lock_test.go

    	case <-locked:
    		t.Error("unexpected unblocking")
    	case <-time.After(100 * time.Millisecond):
    	}
    
    	// unlock
    	if err = dupl.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// the previously blocked routine should be unblocked
    	select {
    	case <-locked:
    	case <-time.After(1 * time.Second):
    		t.Error("unexpected blocking")
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. pkg/kubelet/cloudresource/cloud_request_manager_test.go

    		nodeAddresses, err := manager.NodeAddresses()
    		t.Logf("nodeAddresses: %#v, err: %v", nodeAddresses, err)
    		if err != nil {
    			t.Errorf("Unexpected err: %q\n", err)
    		}
    		// It is safe to read cloud.Addresses since no routine is changing the value at the same time
    		if err == nil && nodeAddresses[0].Address != cloud.Addresses[0].Address {
    			time.Sleep(syncPeriod)
    			continue
    		}
    		if err != nil {
    			t.Errorf("Unexpected err: %q\n", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. pkg/proxy/metaproxier/meta_proxier.go

    	proxier.ipv4Proxier.Sync()
    	proxier.ipv6Proxier.Sync()
    }
    
    // SyncLoop runs periodic work.  This is expected to run as a
    // goroutine or as the main loop of the app.  It does not return.
    func (proxier *metaProxier) SyncLoop() {
    	go proxier.ipv6Proxier.SyncLoop() // Use go-routine here!
    	proxier.ipv4Proxier.SyncLoop()    // never returns
    }
    
    // OnServiceAdd is called whenever creation of new service object is observed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 21 14:28:37 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top