Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,520 for Size (0.04 sec)

  1. staging/src/k8s.io/api/batch/v1beta1/generated.pb.go

    }
    
    func (m *CronJob) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *CronJob) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    func (m *CronJob) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

            node_names.size(), ", #data_types ", node_dtypes.size(), ")"));
      }
    
      if (!node_shapes.empty() && node_names.size() != node_shapes.size()) {
        return errors::InvalidArgument(absl::StrCat(
            "Length of input node array and data shape doesn't match (#arrays ",
            node_names.size(), ", #input_shapes ", node_shapes.size(), ")"));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      se_.allocate = [](const SP_Device* const device, uint64_t size,
                        int64_t memory_space, SP_DeviceMemoryBase* const mem) {
        mem->struct_size = SP_DEVICE_MEMORY_BASE_STRUCT_SIZE;
        mem->opaque = malloc(size);
        mem->size = size;
      };
      se_.deallocate = [](const SP_Device* const device,
                          SP_DeviceMemoryBase* const mem) {
        EXPECT_EQ(mem->size, 2 * sizeof(int));
        free(mem->opaque);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/events/v1beta1/generated.pb.go

    }
    
    func (m *Event) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *Event) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  5. src/unicode/utf8/utf8.go

    	// Status for the special one-byte case.
    	xx = 0xF1 // invalid: size 1
    	as = 0xF0 // ASCII: size 1
    	s1 = 0x02 // accept 0, size 2
    	s2 = 0x13 // accept 1, size 3
    	s3 = 0x03 // accept 0, size 3
    	s4 = 0x23 // accept 2, size 3
    	s5 = 0x34 // accept 3, size 4
    	s6 = 0x04 // accept 0, size 4
    	s7 = 0x44 // accept 4, size 4
    )
    
    // first is information about the first byte in a UTF-8 sequence.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/policy/v1/generated.pb.go

    }
    
    func (m *Eviction) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *Eviction) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/storagemigration/v1alpha1/generated.pb.go

    func (m *GroupVersionResource) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *GroupVersionResource) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  8. src/debug/buildinfo/buildinfo.go

    		return oh.ImageBase
    	}
    	return 0
    }
    
    func (x *peExe) ReadData(addr, size uint64) ([]byte, error) {
    	addr -= x.imageBase()
    	for _, sect := range x.f.Sections {
    		if uint64(sect.VirtualAddress) <= addr && addr <= uint64(sect.VirtualAddress+sect.Size-1) {
    			n := uint64(sect.VirtualAddress+sect.Size) - addr
    			if n > size {
    				n = size
    			}
    			return saferio.ReadDataAt(sect, n, int64(addr-uint64(sect.VirtualAddress)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. src/reflect/abi.go

    			kind:   kind,
    			offset: offset + uintptr(i)*size,
    			size:   size,
    			ireg:   a.iregs,
    		})
    		a.iregs++
    	}
    	return true
    }
    
    // assignFloatN assigns n values to registers, each "size" bytes large,
    // from the data at [offset, offset+n*size) in memory. Each value at
    // [offset+i*size, offset+(i+1)*size) for i < n is assigned to the
    // next n floating-point registers.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. cmd/erasure-decode_test.go

    	b.Run(" X0|X0 ", func(b *testing.B) { benchmarkErasureDecode(2, 2, 1, 1, size, b) })
    }
    
    func BenchmarkErasureDecode_4_64KB(b *testing.B) {
    	const size = 64 * 1024
    	b.Run(" 00|00 ", func(b *testing.B) { benchmarkErasureDecode(2, 2, 0, 0, size, b) })
    	b.Run(" 00|X0 ", func(b *testing.B) { benchmarkErasureDecode(2, 2, 0, 1, size, b) })
    	b.Run(" X0|00 ", func(b *testing.B) { benchmarkErasureDecode(2, 2, 1, 0, size, b) })
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top