Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,387 for sltr (0.07 sec)

  1. src/crypto/internal/boring/bcache/cache_test.go

    			break
    		}
    	}
    
    	// Check results.
    	for k, v := range m {
    		if cv := c.Get(k); cv != v {
    			t.Fatalf("c.Get(%v) = %v, want %v", str(k), str(cv), str(v))
    		}
    	}
    
    	c.Clear()
    	for k := range m {
    		if cv := c.Get(k); cv != nil {
    			t.Fatalf("after GC, c.Get(%v) = %v, want nil", str(k), str(cv))
    		}
    	}
    
    	// Check that registered cache is cleared at GC.
    	c = &registeredCache
    	for k, v := range m {
    		c.Put(k, v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

         * is absent from Java 6.
         */
        public static String capitalize(String str) {
            if (str == null || str.length() == 0) {
                return str;
            }
            return Character.toTitleCase(str.charAt(0)) + str.substring(1);
        }
    
        /**
         * Escapes the toString() representation of {@code obj} for use in a literal string.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. docs_src/app_testing/app_b_an/main.py

    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: Union[str, None] = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_main(item_id: str, x_token: Annotated[str, Header()]):
        if x_token != fake_secret_token:
            raise HTTPException(status_code=400, detail="Invalid X-Token header")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. docs_src/body_multiple_params/tutorial004_an_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = None
        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: Annotated[int, Body(gt=0)],
        q: str | None = None,
    ):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 643 bytes
    - Viewed (0)
  5. src/encoding/gob/type_test.go

    	}
    	return t
    }
    
    // Sanity checks
    func TestBasic(t *testing.T) {
    	for _, tt := range basicTypes {
    		if tt.id.string() != tt.str {
    			t.Errorf("checkType: expected %q got %s", tt.str, tt.id.string())
    		}
    		if tt.id == 0 {
    			t.Errorf("id for %q is zero", tt.str)
    		}
    	}
    }
    
    // Reregister some basic types to check registration is idempotent.
    func TestReregistration(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. test/codegen/mathbits.go

    	// s390x:"ADDE","ADDC\t[$]-1,"
    	// riscv64: "ADD","SLTU"
    	return bits.Add(x, y, ci)
    }
    
    func AddC(x, ci uint) (r, co uint) {
    	// arm64:"ADDS","ADCS","ADC",-"ADD\t",-"CMP"
    	// amd64:"NEGL","ADCQ","SBBQ","NEGQ"
    	// loong64: "ADDV", "SGTU"
    	// ppc64x: "ADDC", "ADDE", "ADDZE"
    	// s390x:"ADDE","ADDC\t[$]-1,"
    	// mips64:"ADDV","SGTU"
    	// riscv64: "ADD","SLTU"
    	return bits.Add(x, 7, ci)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:51:17 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. docs_src/body_multiple_params/tutorial004.py

    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 10 18:49:18 UTC 2023
    - 653 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

              TF::Conv2DOp::getOperationName().str(),
              TF::DepthwiseConv2dNativeOp::getOperationName().str(),
              TF::FusedBatchNormV3Op::getOperationName().str(),
              TF::GatherV2Op::getOperationName().str(),
              TF::MatMulOp::getOperationName().str(),
              TF::MaxPoolOp::getOperationName().str(),
              TF::MaximumOp::getOperationName().str(),
              TF::MeanOp::getOperationName().str(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. docs_src/body_multiple_params/tutorial004_an.py

    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 703 bytes
    - Viewed (0)
  10. docs_src/body_multiple_params/tutorial004_an_py39.py

    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 674 bytes
    - Viewed (0)
Back to top