Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 6,729 for ofFile (0.09 sec)

  1. cmd/site-replication-utils.go

    1. // along with this program. If not, see <http://www.gnu.org/licenses/>.
    2.  
    3. package cmd
    4.  
    5. import (
    6. "context"
    7. "math/rand"
    8. "sync"
    9. "time"
    10.  
    11. "github.com/minio/madmin-go/v3"
    12. )
    13.  
    14. //go:generate msgp -file=$GOFILE
    15.  
    16. // SiteResyncStatus captures current replication resync status for a target site
    17. type SiteResyncStatus struct {
    18. Version int `json:"version" msg:"v"`
    19. // Overall site status
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. cmd/object-api-interface.go

    1. "github.com/minio/minio-go/v7/pkg/tags"
    2. "github.com/minio/minio/internal/hash"
    3.  
    4. "github.com/minio/minio/internal/bucket/replication"
    5. xioutil "github.com/minio/minio/internal/ioutil"
    6. )
    7.  
    8. //go:generate msgp -file $GOFILE -io=false -tests=false -unexported=false
    9.  
    10. //msgp:ignore ObjectOptions TransitionOptions DeleteBucketOptions
    11.  
    12. // CheckPreconditionFn returns true if precondition check failed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

    1. fp = 0L;
    2. }
    3. }
    4. if( file instanceof SmbNamedPipe && file.unc.startsWith( "\\pipe\\" )) {
    5. file.unc = file.unc.substring( 5 );
    6. file.send( new TransWaitNamedPipe( "\\pipe" + file.unc ),
    7. new TransWaitNamedPipeResponse() );
    8. }
    9. file.open( openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

    1. String path;
    2. File file;
    3. File resultFile;
    4.  
    5. path = "hoge.html";
    6. file = fileTransformer.createFile(path);
    7. resultFile = new File(fileTransformer.baseDir, path);
    8. assertEquals(resultFile, file);
    9. FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes());
    10.  
    11. path = "foo1/hoge.html";
    12. file = fileTransformer.createFile(path);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

    1. }
    2.  
    3. private static final class DeadLink {
    4. private final File file
    5. private final String message
    6.  
    7. DeadLink(File file, String message) {
    8. this.file = file
    9. this.message = message
    10. }
    11.  
    12. static DeadLink forSection(File file, String section) {
    13. return new DeadLink(file, "Looking for section named $section in ${file.name}")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py

    1. path.write_bytes(b"<file content>")
    2.  
    3. with path.open("rb") as file:
    4. response = client.post("/files/", files={"file": file})
    5. assert response.status_code == 200, response.text
    6. assert response.json() == {"file_size": 14}
    7.  
    8.  
    9. @needs_py39
    10. def test_post_upload_file(tmp_path, client: TestClient):
    11. path = tmp_path / "test.txt"
    12. path.write_bytes(b"<file content>")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

    1. for (int i = 1; i <= 10; i++) {
    2. final File file = new File(dir, "file" + count + "-" + i + ".html");
    3. file.deleteOnExit();
    4. FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes("UTF-8"));
    5. final File childDir = new File(dir, "dir" + count + "-" + i);
    6. childDir.mkdirs();
    7. generateContents(childDir, count - 1);
    8. }
    9. }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

    1. File file = new File(localRepo.getBasedir(), path);
    2.  
    3. assertTrue(file.exists(), "Local artifact " + file + " should be present.");
    4. }
    5.  
    6. protected void assertRemoteArtifactNotPresent(Artifact artifact) throws Exception {
    7. ArtifactRepository remoteRepo = remoteRepository();
    8.  
    9. String path = remoteRepo.pathOf(artifact);
    10.  
    11. File file = new File(remoteRepo.getBasedir(), path);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

    1. public void checkDeadLinks() {
    2. Map<File, List<Error>> errors = new TreeMap<>();
    3.  
    4. getDocumentationRoot().getAsFileTree().matching(pattern -> pattern.include("**/*.adoc")).forEach(file -> {
    5. gatherDeadLinksInFile(file, errors);
    6. });
    7. reportErrors(errors, getReportFile().get().getAsFile());
    8. }
    9.  
    10. private void reportErrors(Map<File, List<Error>> errors, File reportFile) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server.go

    1. "github.com/minio/minio/internal/grid"
    2. "github.com/minio/minio/internal/logger"
    3. "github.com/minio/pkg/v3/env"
    4. )
    5.  
    6. // To abstract a node over network.
    7. type bootstrapRESTServer struct{}
    8.  
    9. //go:generate msgp -file=$GOFILE
    10.  
    11. // ServerSystemConfig - captures information about server configuration.
    12. type ServerSystemConfig struct {
    13. NEndpoints int
    14. CmdLines []string
    15. MinioEnv map[string]string
    16. Checksum string
    17. }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top