Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 519 for file_name (0.1 seconds)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

                    buffer[currentOffset + j] = 0;
                }
                SMBUtil.writeInt4(2, buffer, currentOffset + 60); // FileNameLength
                byte[] fileName = "a".getBytes(StandardCharsets.UTF_16LE);
                System.arraycopy(fileName, 0, buffer, currentOffset + 94, fileName.length);
                currentOffset += 104;
            }
    
            int result = response.readBytesWireFormat(buffer, bufferIndex);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/NotifyResponseTest.java

            assertEquals(FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME, result.get(3).getAction());
            assertEquals(FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME, result.get(4).getAction());
    
            // Verify all filenames are preserved
            assertEquals("added.txt", result.get(0).getFileName());
            assertEquals("removed.txt", result.get(1).getFileName());
            assertEquals("modified.txt", result.get(2).getFileName());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/Files.java

       * @since 14.0
       */
      public static String getNameWithoutExtension(String file) {
        checkNotNull(file);
        String fileName = new File(file).getName();
        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? fileName : fileName.substring(0, dotIndex);
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_request_files/test_tutorial001.py

        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. docs_src/body_multiple_params/tutorial004_py39.py

    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,
        user: User,
        importance: int = Body(gt=0),
        q: Union[str, None] = None,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 653 bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/io/FileUtilTest.java

            assertThat(new String(bytes, "UTF-8"), is(content));
        }
    
        private String getPath(final String fileName) {
            return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName);
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        components {
            withModule<CodeNarcRule>("org.codenarc:CodeNarc") {
                params(groovyVersion)
            }
        }
    }
    
    fun configFile(fileName: String) = resources.text.fromFile(rules.asFileTree.filter { it.name == fileName })
    
    checkstyle {
        toolVersion = "10.25.0"
        config = configFile("checkstyle.xml")
        val projectDirectory = layout.projectDirectory
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. docs_src/body_multiple_params/tutorial003_py310.py

    app = FastAPI()
    
    
    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: int = Body()):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 504 bytes
    - Click Count (0)
  9. src/main/java/jcifs/ResourceNameFilter.java

        /**
         * Tests whether the specified resource name should be included.
         *
         * @param parent the parent SMB resource
         * @param name the resource name to test
         * @return whether the given filename should be included
         * @throws CIFSException if an error occurs while accessing the resource
         */
        boolean accept(SmbResource parent, String name) throws CIFSException;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. cmd/post-policy_test.go

    	// Presign with V4 signature based on the policy.
    	signature := postPresignSignatureV4(encodedPolicy, t, secretKey, region)
    
    	// If there is no filename on multipart, get the filename from the key.
    	key := objectName
    	if noFilename {
    		key += "/upload.txt"
    	} else {
    		key += "/${filename}"
    	}
    
    	formData := map[string]string{
    		"bucket":           bucketName,
    		"key":              key,
    		"x-amz-credential": credStr,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
Back to Top