Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for setTypes (0.34 sec)

  1. cmd/storage-datatypes_gen_test.go

    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    func BenchmarkUnmarshalBaseOptions(b *testing.B) {
    	v := BaseOptions{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 62.6K bytes
    - Viewed (0)
  2. src/math/big/int_test.go

    	i := 0
    	for i < len(z) && z[i] == 0 {
    		i++
    	}
    
    	return z[i:]
    }
    
    func checkMul(a, b []byte) bool {
    	var x, y, z1 Int
    	x.SetBytes(a)
    	y.SetBytes(b)
    	z1.Mul(&x, &y)
    
    	var z2 Int
    	z2.SetBytes(mulBytes(a, b))
    
    	return z1.Cmp(&z2) == 0
    }
    
    func TestMul(t *testing.T) {
    	if err := quick.Check(checkMul, nil); err != nil {
    		t.Error(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/elf.go

    			plt.SetType(sym.SELFSECT)
    		} else {
    			plt.SetType(sym.SELFRXSECT)
    		}
    
    		s = ldr.CreateSymForUpdate(elfRelType+".plt", 0)
    		s.SetType(sym.SELFROSECT)
    
    		s = ldr.CreateSymForUpdate(".gnu.version", 0)
    		s.SetType(sym.SELFROSECT)
    
    		s = ldr.CreateSymForUpdate(".gnu.version_r", 0)
    		s.SetType(sym.SELFROSECT)
    
    		/* define dynamic elf table */
    		dynamic := ldr.CreateSymForUpdate(".dynamic", 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        reserialize(TypeToken.of(String.class).getTypes());
        reserialize(TypeToken.of(String.class).getTypes().classes());
        reserialize(TypeToken.of(String.class).getTypes().interfaces());
        reserialize(TypeToken.of(String.class).getTypes().rawTypes());
        reserialize(TypeToken.of(String.class).getTypes().classes().rawTypes());
        reserialize(TypeToken.of(String.class).getTypes().interfaces().rawTypes());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        reserialize(TypeToken.of(String.class).getTypes());
        reserialize(TypeToken.of(String.class).getTypes().classes());
        reserialize(TypeToken.of(String.class).getTypes().interfaces());
        reserialize(TypeToken.of(String.class).getTypes().rawTypes());
        reserialize(TypeToken.of(String.class).getTypes().classes().rawTypes());
        reserialize(TypeToken.of(String.class).getTypes().interfaces().rawTypes());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/proxier.go

    					Port:     svcInfo.NodePort(),
    					Protocol: protocol,
    					SetType:  utilipset.BitmapPort,
    				}}
    			case utilipset.ProtocolUDP:
    				nodePortSet = proxier.ipsetList[kubeNodePortSetUDP]
    				entries = []*utilipset.Entry{{
    					// No need to provide ip info
    					Port:     svcInfo.NodePort(),
    					Protocol: protocol,
    					SetType:  utilipset.BitmapPort,
    				}}
    			case utilipset.ProtocolSCTP:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

      Operation* terminator = op_->getRegion(result_region).front().getTerminator();
      auto extra_result_types =
          terminator->getOperands().drop_front(op_->getNumResults()).getTypes();
      new_result_types.insert(new_result_types.end(), extra_result_types.begin(),
                              extra_result_types.end());
      OpBuilder builder(op_);
      // Clone this old operation but with new result types.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/lib.go

    				// now.
    				su := l.MakeSymbolUpdater(symIdx)
    				if l.SymExtname(symIdx) != "" && l.SymDynimplib(symIdx) != "" && !(l.AttrCgoExportStatic(symIdx) || l.AttrCgoExportDynamic(symIdx)) {
    					su.SetType(sym.SDYNIMPORT)
    				} else {
    					su.SetType(0)
    				}
    			}
    		}
    	}
    }
    
    // Set up flags and special symbols depending on the platform build mode.
    // This version works with loader.Loader.
    func (ctxt *Link) linksetup() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/TypeToken.java

     * {@code Type}, for example {@link #isSubtypeOf}, {@link #isArray} and {@link #getComponentType}.
     * It also provides additional utilities such as {@link #getTypes}, {@link #resolveType}, etc.
     *
     * <p>There are three ways to get a {@code TypeToken} instance:
     *
     * <ul>
     *   <li>Wrap a {@code Type} obtained via reflection. For example: {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeToken.java

     * {@code Type}, for example {@link #isSubtypeOf}, {@link #isArray} and {@link #getComponentType}.
     * It also provides additional utilities such as {@link #getTypes}, {@link #resolveType}, etc.
     *
     * <p>There are three ways to get a {@code TypeToken} instance:
     *
     * <ul>
     *   <li>Wrap a {@code Type} obtained via reflection. For example: {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
Back to top