- Sort Score
- Num 10 results
- Language All
Results 1271 - 1280 of 3,661 for creaste (0.16 seconds)
-
tests/test_security_api_key_header_optional.py
user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User | None = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me", headers={"key": "secret"})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.1K bytes - Click Count (0) -
tensorflow/c/c_api.cc
export_dir, tag_set, &bundle); if (!status->status.ok()) return nullptr; // Create a TF_Graph from the MetaGraphDef. This is safe as long as Session // extends using GraphDefs. The Graph instance is different, but equivalent // to the one used to create the session. // // TODO(jhseu): When Session is modified to take Graphs instead of
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0) -
.idea/inspectionProfiles/Gradle.xml
name="Method is annotated with @Provides but uses wrong naming" description="A service-providing method is annotated with `@Provides`, but its name does not start with 'create' or 'decorate', or is not 'configure'" suppressId="annotated_not_service_providing" problemDescriptor="Method is annotated with @Provides, but its name does not start with 'create' or 'decorate'" text="class $Class$ implements $Base$ { @$Annotation$ @Modifier("Instance") $ReturnType$ $Method$ ($ParameterType$...
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jun 26 21:49:47 GMT 2024 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
assertEquals(0, buffer.getReferrals().length); } @Test @DisplayName("Should decode buffer with single referral") void testDecodeSingleReferral() { // Create buffer with one v3 referral byte[] testBuffer = new byte[100]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); // DfsReferralResponseBuffer header
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
tests/scan_test.go
address1 := Address{Name: "address 1"} address2 := Address{Name: "address 2"} DB.Save(&address1).Save(&address2) DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address1.ID)}) DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address2.ID)}) DB.Create(&PersonAddress{PersonID: person2.ID, AddressID: int(address1.ID)}) var personAddressInfoList []*PersonAddressInfoCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:57:36 GMT 2024 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
lenient().when(servletConfig.getServletContext()).thenReturn(servletContext); lenient().when(servletConfig.getInitParameterNames()).thenReturn(Collections.emptyEnumeration()); // Create a custom NetworkExplorer that bypasses resource loading networkExplorer = createMockedNetworkExplorer(false, "jCIFS"); assertDoesNotThrow(() -> networkExplorer.init(servletConfig)); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/user/AdminUserActionTest.java
assertNull(form.password); assertNull(form.confirmPassword); assertNotNull(form.attributes); assertTrue(form.attributes.isEmpty()); form.initialize(); assertEquals(CrudMode.CREATE, form.crudMode.intValue()); } @Test public void test_createForm_setName() { final CreateForm form = new CreateForm(); form.name = "testuser"; assertEquals("testuser", form.name);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/context/SingletonContext.java
log.error("Failed to create singleton JCIFS context", e); } } return INSTANCE; } /** * This static method registers the SMB URL protocol handler which is * required to use SMB URLs with the <code>java.net.URL</code> class. If this * method is not called before attempting to create an SMB URL with the
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacTest.java
// Any PACDecodingException is acceptable for this test assertNotNull(e.getMessage()); } @Test void testInvalidVersion() throws IOException { // Create minimal PAC structure with wrong version ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, 0); // buffer count = 0 writeLittleEndianInt(baos, 99); // invalid versionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
String moduleAPomXml = PomBuilder.create() .namespace("http://maven.apache.org/POM/4.1.0") .modelVersion("4.1.0") .groupId("com.example") .artifactId("module-a") .version("1.0.0") .build(); String moduleBPomXml = PomBuilder.create()Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0)