Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 505 for s_size (0.06 sec)

  1. tensorflow/c/c_api.cc

      DCHECK(tf_results->missing_unused_key_names_data.empty());
    
      size_t size = results.missing_unused_input_map_keys.size();
      tf_results->missing_unused_key_names.resize(size);
      tf_results->missing_unused_key_indexes.resize(size);
    
      for (int i = 0; i < size; ++i) {
        TensorId id = results.missing_unused_input_map_keys[i];
        tf_results->missing_unused_key_names_data.emplace_back(id.first);
        tf_results->missing_unused_key_names[i] =
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        }
    
        @Test
        void testGetSecurityWithMismatchedSize() throws Exception {
            // Test when sd_size doesn't match actual array size
            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
            info502.security_descriptor = new byte[] { 1, 2, 3, 4 };
            info502.sd_size = 100; // Mismatched size - SecurityDescriptor will try to read beyond array bounds
    
            // Replace info field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. cmd/metrics-v2_gen.go

    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z MetricTypeV2) Msgsize() (s int) {
    	s = msgp.StringPrefixSize + len(string(z))
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *MetricV2) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 6
    	// string "Description"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 23 20:56:18 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. cmd/site-replication-metrics_gen_test.go

    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestEncodeDecodeRStat(t *testing.T) {
    	v := RStat{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeRStat Msgsize() is inaccurate")
    	}
    
    	vn := RStat{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 30 08:00:59 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  5. cmd/batch-rotate_gen.go

    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *BatchJobKeyRotateFlags) Msgsize() (s int) {
    	s = 1 + 7 + z.Filter.Msgsize() + 7 + z.Notify.Msgsize() + 6 + z.Retry.Msgsize()
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  6. cmd/storage-rest-common_gen.go

    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *nsScannerResp) Msgsize() (s int) {
    	s = 1 + 2
    	if z.Update == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.Update.Msgsize()
    	}
    	s += 2
    	if z.Final == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.Final.Msgsize()
    	}
    	return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. cmd/endpoint-ellipses.go

    			return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg)
    		}
    
    		// Final set size with all the symmetry accounted for.
    		setSize = commonSetDriveCount(commonSize, setCounts)
    	}
    
    	// Check whether setSize is with the supported range.
    	if !isValidSetSize(setSize) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. cmd/bucket-replication-metrics_gen.go

    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *InQueueMetric) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "cq"
    	o = append(o, 0x83, 0xa2, 0x63, 0x71)
    	// map header, size 2
    	// string "Count"
    	o = append(o, 0x82, 0xa5, 0x43, 0x6f, 0x75, 0x6e, 0x74)
    	o = msgp.AppendFloat64(o, z.Curr.Count)
    	// string "Bytes"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/SmallCharMatcher.java

      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

             */
            public String path;
            /**
             * The share password (if any).
             */
            public String password;
            /**
             * The size of the security descriptor.
             */
            public int sd_size;
            /**
             * The security descriptor bytes.
             */
            public byte[] security_descriptor;
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
Back to top