Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 78 for __callback (0.17 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	// while the scheduler has allocated it and the corresponding object
    	// update from the apiserver has not been processed by the claim
    	// informer callbacks. Claims get added here in PreBind and removed by
    	// the informer callback (based on the "newer than" comparison in the
    	// assume cache).
    	//
    	// It uses cache.MetaNamespaceKeyFunc to generate object names, which
    	// therefore are "<namespace>/<name>".
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  2. docs/bucket/notifications/README.md

    channel.queue_bind(exchange='bucketevents',
                       queue=queue_name)
    
    print(' [*] Waiting for logs. To exit press CTRL+C')
    
    def callback(ch, method, properties, body):
        print(" [x] %r" % body)
    
    channel.basic_consume(callback,
                          queue=queue_name,
                          no_ack=False)
    
    channel.start_consuming()
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        }
      }
    
      // Drop all the args that have to be skipped.
      for (Value arg : skipped_args) hoister.DropResource(arg);
    
      hoister.ReplaceResourceLoads(/*read_only=*/false);
    
      // For writes, invoke the callback and then erase the write.
      auto assign_ops = func_op.front().getOps<TF::AssignVariableOp>();
      for (auto assign_variable_op : llvm::make_early_inc_range(assign_ops)) {
        Value resource = assign_variable_op.getResource();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    		t.Fatalf("Watch failed: %v", err)
    	}
    
    	testCheckResult(t, w, watch.Event{Type: watch.Added, Object: out})
    	w.Stop()
    
    	// Compact previous versions
    	if compaction == nil {
    		t.Skip("compaction callback not provided")
    	}
    
    	// Update again
    	newOut := &example.Pod{}
    	err = store.GuaranteedUpdate(ctx, key, newOut, true, nil, storage.SimpleUpdate(
    		func(runtime.Object) (runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

               * clearListeners.
               */
              executeListener(task, requireNonNull(curr.executor));
            }
          }
          break;
        }
      }
    
      /**
       * Callback method that is called exactly once after the future is completed.
       *
       * <p>If {@link #interruptTask} is also run during completion, {@link #afterDone} runs after it.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  6. guava/src/com/google/common/util/concurrent/AbstractFuture.java

               * clearListeners.
               */
              executeListener(task, requireNonNull(curr.executor));
            }
          }
          break;
        }
      }
    
      /**
       * Callback method that is called exactly once after the future is completed.
       *
       * <p>If {@link #interruptTask} is also run during completion, {@link #afterDone} runs after it.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  7. src/cmd/dist/test.go

    					testFlags:   []string{fmt.Sprintf("-shard=%d", shard), fmt.Sprintf("-shards=%d", nShards)},
    					runOnHost:   true,
    				},
    			)
    		}
    	}
    }
    
    // addTest adds an arbitrary test callback to the test list.
    //
    // name must uniquely identify the test and heading must be non-empty.
    func (t *tester) addTest(name, heading string, fn func(*distTest) error) {
    	if t.testNames[name] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. src/runtime/mgcscavenge.go

    	// memory for now.
    	//
    	// If this is nil, it is populated with the real thing in init.
    	scavenge func(n uintptr) (uintptr, int64)
    
    	// shouldStop is a callback called in the work loop and provides a
    	// point that can force the scavenger to stop early, for example because
    	// the scavenge policy dictates too much has been scavenged already.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    	}
    	return versions, hdrVer, metaVer, buf, nil
    }
    
    // decodeVersions will decode a number of versions from a buffer
    // and perform a callback for each version in order, newest first.
    // Return errDoneForNow to stop processing and return nil.
    // Any non-nil error is returned.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. src/runtime/mgc.go

    		Gosched()
    	}
    
    	semrelease(&work.startSema)
    }
    
    // gcMarkDoneFlushed counts the number of P's with flushed work.
    //
    // Ideally this would be a captured local in gcMarkDone, but forEachP
    // escapes its callback closure, so it can't capture anything.
    //
    // This is protected by markDoneSema.
    var gcMarkDoneFlushed uint32
    
    // gcMarkDone transitions the GC from mark to mark termination if all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top