Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for traceCh (0.09 sec)

  1. cmd/peer-rest-client.go

    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // Trace - send http trace request to peer nodes
    func (client *peerRESTClient) Trace(ctx context.Context, traceCh chan<- []byte, traceOpts madmin.ServiceTraceOpts) {
    	go func() {
    		for {
    			// Blocks until context is canceled or an error occurs.
    			client.doTrace(ctx, traceCh, traceOpts)
    			select {
    			case <-ctx.Done():
    				return
    			default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		if peer == nil {
    			continue
    		}
    		peer.Trace(ctx, traceCh, traceOpts)
    	}
    
    	keepAliveTicker := time.NewTicker(time.Second)
    	defer keepAliveTicker.Stop()
    
    	for {
    		select {
    		case entry := <-traceCh:
    			if _, err := w.Write(entry); err != nil {
    				return
    			}
    			grid.PutByteBuffer(entry)
    			if len(traceCh) == 0 {
    				// Flush if nothing is queued
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. cmd/http-tracer.go

    		h.ServeHTTP(respRecorder, r)
    		reqEndTime := time.Now().UTC()
    
    		if globalTrace.NumSubscribers(madmin.TraceS3|madmin.TraceInternal) == 0 {
    			// no subscribers nothing to trace.
    			return
    		}
    
    		tt := madmin.TraceInternal
    		if strings.HasPrefix(tc.FuncName, "s3.") {
    			tt = madmin.TraceS3
    		}
    
    		// Calculate input body size with headers
    		reqHeaders := r.Header.Clone()
    		reqHeaders.Set("Host", r.Host)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. internal/logger/logger.go

    		if !strings.HasPrefix(file, "<autogenerated>") &&
    			!strings.HasPrefix(funcName, "runtime.") {
    			// Form and append a line of stack trace into a
    			// collection, 'trace', to build full stack trace
    			trace = append(trace, fmt.Sprintf("%v:%v:%v()", file, lineNumber, funcName))
    
    			// Ignore trace logs beyond the following conditions
    			for _, name := range matchingFuncNames {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle.go

    					transitionLogIf(es.ctx, err)
    					traceFn(ILMFreeVersionDelete, nil, err)
    					continue
    				}
    
    				// Remove this free version
    				_, err = es.objAPI.DeleteObject(es.ctx, oi.Bucket, oi.Name, ObjectOptions{
    					VersionID:        oi.VersionID,
    					InclFreeVersions: true,
    				})
    				if err == nil {
    					auditLogLifecycle(es.ctx, oi, ILMFreeVersionDelete, nil, traceFn)
    				}
    				if ignoreNotFoundErr(err) != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  6. cmd/object-handlers-common.go

    				VersionID: dobj.VersionID,
    			}
    			traceFn := globalLifecycleSys.trace(oi)
    			// Note: NewerNoncurrentVersions action is performed only scanner today
    			tags := newLifecycleAuditEvent(lcEventSrc_Scanner, lcEvent).Tags()
    
    			// Send audit for the lifecycle delete operation
    			auditLogLifecycle(
    				ctx,
    				oi,
    				ILMExpiry, tags, traceFn)
    
    			evArgs := eventArgs{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        TF_DeleteAbstractTensor(add_output1);
        TF_DeleteAbstractTensor(add_output2);
        TF_DeleteOutputList(func_outputs);
      }
    
      /**
       * We traced so far this function:
       *
       *   def two_adds(a, b):
       *     my_add1 = a + b
       *     my_add2 = b + b
       *     return my_add1, my_add2
       *
       * Now we will execute this function with an eager context:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/abstract_context.h

    //
    // This serves as a factory for creating `AbstractOperation`s and for
    // registering traced functions.
    // Operations creation within a context can only be executed in that context
    // (for now at least).
    // Implementations of the context may contain some state e.g. an execution
    // environment, a traced representation etc.
    class AbstractContext {
     protected:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                if (trace.getData() instanceof CollectStepData) {
                    collectStepTrace = (CollectStepData) trace.getData();
                    break;
                }
                trace = trace.getParent();
            }
            return collectStepTrace;
        }
    
        /**
         * The event "artifact resolved" if fired WHENEVER an artifact is resolved, BUT it happens also when an artifact
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    }
    
    // TraceObjName returns name of object being traced
    func (td ObjectToDelete) TraceObjName() string {
    	return td.ObjectName
    }
    
    // TraceVersionID returns version-id of object being traced
    func (td ObjectToDelete) TraceVersionID() string {
    	return td.VersionID
    }
    
    // TraceObjName returns name of object being traced
    func (oi ObjectInfo) TraceObjName() string {
    	return oi.Name
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top