Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1611 - 1620 of 3,731 for qint (0.05 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

      // Copy Tensor data into an array.
      float result_data[4] = {0};
      memcpy(&result_data[0], TF_TensorData(result_tensor),
             TF_TensorByteSize(result_tensor));
    
      int data_len = 4;  // length of result_data
      for (int i = 0; i < data_len; i++) {
        EXPECT_EQ(result_data[i], 0);
      }
    
      TF_DeleteTensor(result_tensor);
      TF_DeleteAbstractTensor(result);
      TF_DeleteOutputList(o);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

                    public char charAt(final int index) {
                        return name.charAt(index);
                    }
    
                    @Override
                    public int length() {
                        return name.length();
                    }
    
                    @Override
                    public CharSequence subSequence(final int start, final int end) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. internal/grid/msg_gen.go

    			return
    		}
    		(*z) = Flags(zb0001)
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z Flags) Msgsize() (s int) {
    	s = msgp.Uint8Size
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *HandlerID) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InternetDomainName.java

       * <p>If a {@code desiredType} is specified, this method only finds suffixes of the given type.
       * Otherwise, it finds the first suffix of any type.
       */
      private int findSuffixOfType(Optional<PublicSuffixType> desiredType) {
        int partsSize = parts.size();
    
        for (int i = 0; i < partsSize; i++) {
          String ancestorName = DOT_JOINER.join(parts.subList(i, partsSize));
    
          if (i > 0
              && matchesType(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

        CompactHashMap<Integer, String> map = CompactHashMap.createWithExpectedSize(100);
        for (int i = 0; i < 10; i++) {
          map.put(i, Integer.toString(i));
        }
        map.trimToSize();
        assertThat(map.entries).hasLength(10);
        assertThat(map.keys).hasLength(10);
        assertThat(map.values).hasLength(10);
        assertEquals(10, map.size());
        for (int i = 0; i < 10; i++) {
          assertEquals(Integer.toString(i), map.get(i));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. docs_src/query_param_models/tutorial002_pv1_an.py

    from pydantic import BaseModel, Field
    from typing_extensions import Annotated, Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        class Config:
            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: List[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 522 bytes
    - Viewed (0)
  7. docs_src/dependencies/tutorial001_02_an.py

    from typing import Union
    
    from fastapi import Depends, FastAPI
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    async def common_parameters(
        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    CommonsDep = Annotated[dict, Depends(common_parameters)]
    
    
    @app.get("/items/")
    async def read_items(commons: CommonsDep):
        return commons
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 495 bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

        }
    
    
        @Override
        public int getSendBufferSize () throws SmbException {
            try ( SmbSessionImpl session = this.treeConnection.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                return transport.getNegotiateResponse().getSendBufferSize();
            }
        }
    
    
        @Override
        public int getReceiveBufferSize () throws SmbException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  9. internal/http/listener.go

    type TCPOptions struct {
    	UserTimeout int // this value is expected to be in milliseconds
    
    	// When the net.Conn is a remote drive this value is honored, we close the connection to remote peer proactively.
    	DriveOPTimeout func() time.Duration
    
    	SendBufSize int              // SO_SNDBUF size for the socket connection, NOTE: this sets server and client connection
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs_src/body_multiple_params/tutorial003_py310.py

        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, user: User, importance: int = Body()):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 504 bytes
    - Viewed (0)
Back to top