Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for GetTable (0.5 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        assertThat(successCalls[0]).isEqualTo(1);
        assertThat(failureCalls[0]).isEqualTo(0);
      }
    
      public void testWildcardFuture() {
        SettableFuture<String> settable = SettableFuture.create();
        ListenableFuture<?> f = settable;
        FutureCallback<Object> callback =
            new FutureCallback<Object>() {
              @Override
              public void onSuccess(Object result) {}
    
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        assertThat(successCalls[0]).isEqualTo(1);
        assertThat(failureCalls[0]).isEqualTo(0);
      }
    
      public void testWildcardFuture() {
        SettableFuture<String> settable = SettableFuture.create();
        ListenableFuture<?> f = settable;
        FutureCallback<Object> callback =
            new FutureCallback<Object>() {
              @Override
              public void onSuccess(Object result) {}
    
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Nov 15 16:33:21 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/conversion/helper.go

    */
    
    package conversion
    
    import (
    	"fmt"
    	"reflect"
    )
    
    // EnforcePtr ensures that obj is a pointer of some sort. Returns a reflect.Value
    // of the dereferenced pointer, ensuring that it is settable/addressable.
    // Returns an error if this is not possible.
    func EnforcePtr(obj interface{}) (reflect.Value, error) {
    	v := reflect.ValueOf(obj)
    	if v.Kind() != reflect.Pointer {
    		if v.Kind() == reflect.Invalid {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. pkg/proxy/iptables/proxier_test.go

    	dump, err := iptablestest.ParseIPTablesDump(ruleData)
    	if err != nil {
    		logger.Error(err, "error parsing iptables rules")
    		return -1
    	}
    
    	rules := 0
    	table, err := dump.GetTable(tableName)
    	if err != nil {
    		logger.Error(err, "can't find table", "table", tableName)
    		return -1
    	}
    
    	for _, c := range table.Chains {
    		rules += len(c.Rules)
    	}
    	return rules
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  5. src/internal/reflectlite/export_test.go

    // The result is different from the zero value of the Value struct,
    // which represents no value at all.
    // For example, Zero(TypeOf(42)) returns a Value with Kind Int and value 0.
    // The returned value is neither addressable nor settable.
    func Zero(typ Type) Value {
    	if typ == nil {
    		panic("reflect: Zero(nil)")
    	}
    	t := typ.common()
    	fl := flag(t.Kind())
    	if t.IfaceIndir() {
    		return Value{t, unsafe_New(t), fl | flagIndir}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. pkg/kubemark/hollow_kubelet.go

    		KubeletConfiguration: *hk.KubeletConfiguration,
    	}, hk.KubeletDeps, false); err != nil {
    		klog.Fatalf("Failed to run HollowKubelet: %v. Exiting.", err)
    	}
    	select {}
    }
    
    // HollowKubeletOptions contains settable parameters for hollow kubelet.
    type HollowKubeletOptions struct {
    	NodeName            string
    	KubeletPort         int
    	KubeletReadOnlyPort int
    	MaxPods             int
    	PodsPerCore         int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ListsTest.java

          fail("transformed list iterator is addable");
        } catch (UnsupportedOperationException | IllegalStateException expected) {
        }
        try {
          iterator.set("1");
          fail("transformed list iterator is settable");
        } catch (UnsupportedOperationException | IllegalStateException expected) {
        }
      }
    
      public void testTransformIteratorRandomAccess() {
        List<Integer> fromList = Lists.newArrayList(SOME_LIST);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ListsTest.java

          fail("transformed list iterator is addable");
        } catch (UnsupportedOperationException | IllegalStateException expected) {
        }
        try {
          iterator.set("1");
          fail("transformed list iterator is settable");
        } catch (UnsupportedOperationException | IllegalStateException expected) {
        }
      }
    
      public void testTransformIteratorRandomAccess() {
        List<Integer> fromList = Lists.newArrayList(SOME_LIST);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. src/encoding/json/decode.go

    // If decodingNull is true, indirect stops at the first settable pointer so it
    // can be set to nil.
    func indirect(v reflect.Value, decodingNull bool) (Unmarshaler, encoding.TextUnmarshaler, reflect.Value) {
    	// Issue #24153 indicates that it is generally not a guaranteed property
    	// that you may round-trip a reflect.Value by calling Value.Addr().Elem()
    	// and expect the value to still be settable for values derived from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  10. src/runtime/netpoll.go

    	lock    mutex // protects the following fields
    	closing bool
    	rrun    bool      // whether rt is running
    	wrun    bool      // whether wt is running
    	user    uint32    // user settable cookie
    	rseq    uintptr   // protects from stale read timers
    	rt      timer     // read deadline timer
    	rd      int64     // read deadline (a nanotime in the future, -1 when expired)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top