Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 153 for getUnit (0.24 sec)

  1. tests/fuzz/analyzer_fuzzer.go

    }
    
    // createRandomConfigFiles creates a slice of ReaderSources
    func createRandomConfigFiles(f *fuzz.ConsumeFuzzer) ([]local.ReaderSource, error) {
    	var files []local.ReaderSource
    
    	numberOfFiles, err := f.GetInt()
    	if err != nil {
    		return files, err
    	}
    	maxFiles := numberOfFiles % 10
    
    	// Gather test files
    	for i := 0; i < maxFiles; i++ {
    		name, err := f.GetString()
    		if err != nil {
    			return files, err
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/OperationProgressDetails.java

            this.units = units;
        }
    
        public long getProgress() {
            return progress;
        }
    
        public long getTotal() {
            return total;
        }
    
        public String getUnits() {
            return units;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

        return success();
      }
      return op->emitOpError() << "module already contains an attribute "
                               << attr_name << "=" << ex_attr_value.getInt()
                               << ", overwritting to a new value "
                               << attr_value.getInt() << " is not allowed.";
    }
    
    LogicalResult SetCollectiveInfo(IntegerAttr group_size, IntegerAttr group_key,
                                    Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultStatusEvent.java

        }
    
        @Override
        public long getProgress() {
            return progress;
        }
    
        @Override
        public long getTotal() {
            return total;
        }
    
        @Override
        public String getUnits() {
            return units;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 21 23:09:50 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        static final int SMB_FILE_NAMES_INFO               = 0x103;
        static final int SMB_FILE_BOTH_DIRECTORY_INFO      = 0x104;
    
        static final int LIST_SIZE = Config.getInt( "jcifs.smb1.smb.client.listSize", DEFAULT_LIST_SIZE );
        static final int LIST_COUNT = Config.getInt( "jcifs.smb1.smb.client.listCount", DEFAULT_LIST_COUNT );
    
        Trans2FindFirst2( String filename, String wildcard, int searchAttributes ) {
            if( filename.equals( "\\" )) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

        fbb.Add(static_cast<int32_t>(
            mlir::dyn_cast<IntegerAttr>(*(hash_seed.getValue().data() + i))
                .getInt()));
      }
      fbb.EndVector(vector_start, /*typed=*/true, /*fixed=*/false);
    
      auto buckets = mlir::dyn_cast_or_null<IntegerAttr>(attrs.get("buckets"));
      fbb.Int("buckets", buckets.getInt());
    
      fbb.EndMap(start_map);
      fbb.Finish();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                final Response response = checkMethodBase(requestBody).post("/api/admin/scheduler/" + schedulerId + "/start");
                if (response.getBody().jsonPath().getInt("response.status") == 0) {
                    logger.info("Start scheduler \"{}\"", schedulerId);
                    return;
                }
                ThreadUtil.sleep(1000L);
            }
            fail("could not start job.");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. tests/fuzz/compare_fuzzer.go

    	"istio.io/istio/istioctl/pkg/writer/compare"
    )
    
    func createIstiodDumps(f *fuzz.ConsumeFuzzer) (map[string][]byte, error) {
    	m := make(map[string][]byte)
    	maxNoEntries := 50
    	qty, err := f.GetInt()
    	if err != nil {
    		return m, err
    	}
    	noOfEntries := qty % maxNoEntries
    	if noOfEntries == 0 {
    		return m, errors.New("a map of zero-length was created")
    	}
    	for i := 0; i < noOfEntries; i++ {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_op_attrs.h

      virtual ~AbstractOpAttrs() = default;
    
      // Returns the AbstractFunction as a FunctionDef.
      virtual void GetNameAttrList(
          tensorflow::NameAttrList* name_and_attrs) const = 0;
    
      virtual bool GetInt(absl::string_view, int64_t* result) const = 0;
      virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0;
      virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 26 22:20:27 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

      ArrayAttr stride = mlir::dyn_cast<ArrayAttr>(identifier_to_attr["strides"]);
      const int stride_h = mlir::cast<IntegerAttr>(stride[1]).getInt();
      const int stride_w = mlir::cast<IntegerAttr>(stride[2]).getInt();
      return rewriter.getI64ArrayAttr({stride_h, stride_w});
    }
    
    Attribute GetLhsDilationValue(PatternRewriter& rewriter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top