Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 381 for get_int (0.23 sec)

  1. tensorflow/compiler/mlir/lite/utils/validators.cc

      if (mlir::cast<IntegerAttr>(elements.front()).getInt() != 1 ||
          mlir::cast<IntegerAttr>(elements.back()).getInt() != 1)
        return false;
    
      Builder b(op->getContext());
      *x = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[1]).getInt());
      *y = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[2]).getInt());
      *z = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[3]).getInt());
    
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int LPORT = Config.getInt( "jcifs.smb1.smb.client.lport", 0 );
        static final int MAX_MPX_COUNT = Config.getInt( "jcifs.smb1.smb.client.maxMpxCount", DEFAULT_MAX_MPX_COUNT );
        static final int SND_BUF_SIZE = Config.getInt( "jcifs.smb1.smb.client.snd_buf_size", DEFAULT_SND_BUF_SIZE );
        static final int RCV_BUF_SIZE = Config.getInt( "jcifs.smb1.smb.client.rcv_buf_size", DEFAULT_RCV_BUF_SIZE );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.4K bytes
    - Viewed (0)
  3. tests/fuzz/pilot_model_fuzzer.go

    	if err != nil {
    		return si, err
    	}
    	return si, nil
    }
    
    // Gets a protocol from global var protocols
    func getProtocolInstance(f *fuzz.ConsumeFuzzer) (protocol.Instance, error) {
    	pIndex, err := f.GetInt()
    	if err != nil {
    		return protocol.Unsupported, errors.New("could not create protocolInstance")
    	}
    	i := protocols[pIndex%len(protocols)]
    	return i, nil
    }
    
    // Creates a new fuzzed Port
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 18:13:06 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

      for (int i = 0; i < low_pads.size(); ++i) {
        new_low_pads[i] = low_pads[i].getInt() + parent_low_pads[i].getInt();
        new_high_pads[i] = high_pads[i].getInt() + parent_high_pads[i].getInt();
        new_interior_pads[i] =
            interior_pads[i].getInt() + parent_interior_pads[i].getInt();
      }
    
      // Replace pad_op with a new pad having new attributes, taking the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/translate_utils.cc

      if (!producer) return mlir::failure();
      versions->set_producer(producer.getInt());
    
      auto min_consumer = mlir::dyn_cast_or_null<mlir::IntegerAttr>(
          version_attr.get("min_consumer"));
      if (min_consumer) versions->set_min_consumer(min_consumer.getInt());
    
      auto bad_consumers = mlir::dyn_cast_or_null<mlir::ArrayAttr>(
          version_attr.get("bad_consumers"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        assertTrue(
            "addAll(n, allPresent) should return true",
            getList().addAll(0, MinimalCollection.of(e0())));
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_unsupportedAllPresent() {
        try {
          getList().addAll(0, MinimalCollection.of(e0()));
          fail("addAll(n, allPresent) should throw");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

        << op->getAttrOfType<mlir::IntegerAttr>("op_key").getInt() << ") device("
        << op->getAttr("device") << ") " << op->getAttr("op_name") << "()";
    
      fallback_common::PrintExecuteOpCommon(p, op);
      fallback_common::PrintExecuteOpFuncAttribute(p, op);
    
      p << " num_args(" << op->getAttrOfType<mlir::IntegerAttr>("num_args").getInt()
        << ')';
    }
    
    void ExecuteOp::print(OpAsmPrinter &p) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

       */
      public void testAddAtIndex_unsupportedPresent() {
        try {
          getList().add(0, e0());
          fail("add(n, present) should throw");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_supportedNotPresent() {
        getList().add(0, e3());
        expectAdded(0, e3());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        assertFalse(
            "Lists of different sizes should not be equal.",
            getList().equals(new ArrayList<E>(moreElements)));
      }
    
      public void testEquals_set() {
        assertFalse("A List should never equal a Set.", getList().equals(MinimalSet.from(getList())));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
        assertEquals("set() should not change the size of a list.", getNumElements(), getList().size());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top