Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 125 for someFile (0.45 sec)

  1. src/os/os_test.go

    				}
    				info, err := n.Info()
    				if err != nil {
    					t.Errorf("%s: Info: %v", m, err)
    					continue
    				}
    				if !SameFile(info, lstat) {
    					t.Errorf("%s: Info: SameFile(info, lstat) = false", m)
    				}
    			}
    			if !found {
    				t.Error("could not find", m)
    			}
    		}
    		if s == nil {
    			t.Error("ReadDir returned nil instead of empty slice")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

        /*
         * Here's the order of events that we want.
         *
         * 1. The client thread begins to block on a get() call to a future.
         * 2. The client thread is interrupted sometime before the result would be
         *   available.
         * 3. We expect the client's get() to throw an InterruptedException.
         * 4. We expect the client thread's interrupt state to be false.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. src/internal/testenv/testenv_test.go

    	if err != nil {
    		t.Fatalf("testenv.GoTool(): %v", err)
    	}
    	t.Logf("testenv.GoTool() = %q", goTool)
    
    	gotInfo, err := os.Stat(goTool)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !os.SameFile(wantInfo, gotInfo) {
    		t.Fatalf("%q is not the same file as %q", absWant, goTool)
    	}
    }
    
    func TestHasGoBuild(t *testing.T) {
    	if !testenv.HasGoBuild() {
    		switch runtime.GOOS {
    		case "js", "wasip1":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 23:12:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

        /*
         * Here's the order of events that we want.
         *
         * 1. The client thread begins to block on a get() call to a future.
         * 2. The client thread is interrupted sometime before the result would be
         *   available.
         * 3. We expect the client's get() to throw an InterruptedException.
         * 4. We expect the client thread's interrupt state to be false.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. src/os/exec/lp_windows.go

    				// out that the explicit one doesn't match.
    				dotfi, dotfiErr := os.Lstat(dotf)
    				fi, fiErr := os.Lstat(f)
    				if dotfiErr != nil || fiErr != nil || !os.SameFile(dotfi, fi) {
    					return dotf, dotErr
    				}
    			}
    
    			if !filepath.IsAbs(f) {
    				if execerrdot.Value() != "0" {
    					// If this is the same relative path that we already found,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. cmd/peer-rest-client.go

    	go func() {
    		for {
    			client.doListen(ctx, listenCh, v)
    			select {
    			case <-ctx.Done():
    				return
    			default:
    				// There was error in the REST request, retry after sometime as probably the peer is down.
    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // Trace - send http trace request to peer nodes
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/os/example_test.go

    	// on the original target path.
    	dstInfo, err := os.Stat(dstAbs)
    	if err != nil {
    		log.Fatal(err)
    	}
    	targetInfo, err := os.Stat(targetPath)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if !os.SameFile(dstInfo, targetInfo) {
    		log.Fatalf("link destination (%s) is not the same file as %s", dstAbs, targetPath)
    	}
    
    	// Output:
    	// hello.link links to hello.txt
    }
    
    func ExampleUserCacheDir() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 17:35:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/text/unicode/norm/forminfo.go

    // Note that the recomposition map for NFC and NFKC are identical.
    
    // combine returns the combined rune or 0 if it doesn't exist.
    //
    // The caller is responsible for calling
    // recompMapOnce.Do(buildRecompMap) sometime before this is called.
    func combine(a, b rune) rune {
    	key := uint32(uint16(a))<<16 + uint32(uint16(b))
    	if recompMap == nil {
    		panic("caller error") // see func comment
    	}
    	return recompMap[key]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/unicode/norm/forminfo.go

    // Note that the recomposition map for NFC and NFKC are identical.
    
    // combine returns the combined rune or 0 if it doesn't exist.
    //
    // The caller is responsible for calling
    // recompMapOnce.Do(buildRecompMap) sometime before this is called.
    func combine(a, b rune) rune {
    	key := uint32(uint16(a))<<16 + uint32(uint16(b))
    	if recompMap == nil {
    		panic("caller error") // see func comment
    	}
    	return recompMap[key]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      const std::vector<std::string> matching_filenames = {
          GetURIForPath("a_file"),
          GetURIForPath("another_file"),
      };
      const std::vector<std::string> other_filenames = {
          GetURIForPath("some_file"),
          GetURIForPath("yet_another_file"),
      };
    
      for (const auto& filename : matching_filenames) {
        std::unique_ptr<WritableFile> file;
        Status status = env_->NewWritableFile(filename, &file);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
Back to top