Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,398 for Seven (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

    abstract class AbstractFilteredMapTest extends TestCase {
      private static final Predicate<@Nullable String> NOT_LENGTH_3 =
          input -> input == null || input.length() != 3;
      private static final Predicate<@Nullable Integer> EVEN = input -> input == null || input % 2 == 0;
      static final Predicate<Entry<String, Integer>> CORRECT_LENGTH =
          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/slashpath.txt

    # .a files should use slash-separated paths even on windows
    # This is important for reproducing native builds with cross-compiled builds.
    go build -o x.a text/template
    ! grep 'GOROOT\\' x.a
    ! grep 'text\\template' x.a
    ! grep 'c:\\' x.a
    
    # executables should use slash-separated paths even on windows
    # This is important for reproducing native builds with cross-compiled builds.
    go build -o hello.exe hello.go
    ! grep 'GOROOT\\' hello.exe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 23:10:31 UTC 2023
    - 596 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_cache_output.txt

    mkdir $GOCACHE
    
    # Building a trivial non-main package should run compiler the first time.
    go build -x -gcflags=-m lib.go
    stderr 'compile( |\.exe"?)'
    stderr 'lib.go:2.* can inline f'
    
    # ... but not the second, even though it still prints the compiler output.
    go build -x -gcflags=-m lib.go
    ! stderr 'compile( |\.exe"?)'
    stderr 'lib.go:2.* can inline f'
    
    # Building a trivial main package should run the compiler and linker the first time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_cache_inputs.txt

    	if err != nil {
    		t.Fatal(err)
    	}
    	if info.Size()%2 != 1 {
    		t.Fatal("even file")
    	}
    }
    
    func TestOddFileContent(t *testing.T) {
    	f, err := os.Open("file.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	data, err := io.ReadAll(f)
    	f.Close()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(data)%2 != 1 {
    		t.Fatal("even file")
    	}
    }
    
    func TestOddFileSize(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 22:23:53 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/stat_unix.go

    // hasWritePerm reports whether the current user has permission to write to the
    // file with the given info.
    //
    // Although the root user on most Unix systems can write to files even without
    // permission, hasWritePerm reports false if no appropriate permission bit is
    // set even if the current user is root.
    func hasWritePerm(path string, fi fs.FileInfo) bool {
    	if os.Getuid() == 0 {
    		// The root user can access any file, but we still want to default to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 963 bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

    abstract class AbstractFilteredMapTest extends TestCase {
      private static final Predicate<@Nullable String> NOT_LENGTH_3 =
          input -> input == null || input.length() != 3;
      private static final Predicate<@Nullable Integer> EVEN = input -> input == null || input % 2 == 0;
      static final Predicate<Entry<String, Integer>> CORRECT_LENGTH =
          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/mail/EsStatusPostcard.java

         * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty.
         * @param hostname The parameter value of hostname. (NotNull)
         */
        public void setHostname(String hostname) {
            registerVariable("hostname", hostname);
        }
    
        /**
         * Set the value of clustername, used in parameter comment. <br>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        // forward map ordered by currency (even for country values)
        assertThat(bimap.values()).containsExactly(Country.SWITZERLAND, Country.CHILE).inOrder();
        // backward map ordered by country
        assertThat(bimap.inverse().keySet())
            .containsExactly(Country.CHILE, Country.SWITZERLAND)
            .inOrder();
        // backward map ordered by country (even for currency values)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 16:35:21 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. test/return.go

    func _() int {
    L:
    	{
    		print(1)
    		goto L
    	}
    }
    
    // block ending in terminating statement is okay
    func _() int {
    	print(1)
    	{
    		panic(2)
    	}
    }
    
    // adding more code - even though it is dead - now requires a return
    
    func _() int {
    	print(1)
    	return 2
    	print(3)
    } // ERROR "missing return"
    
    func _() int {
    L:
    	print(1)
    	goto L
    	print(3)
    } // ERROR "missing return"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 32.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/gcflags_patterns.txt

    stderr 'link.* -X=math.pi=3'
    
    # -ldflags applies to link of command even with strange directory name
    go build -a -n -ldflags=-X=math.pi=3 my/cmd/prog/
    stderr 'link.* -X=math.pi=3'
    
    # -ldflags applies to current directory
    cd my/cmd/prog
    go build -a -n -ldflags=-X=math.pi=3
    stderr 'link.* -X=math.pi=3'
    
    # -ldflags applies to current directory even if GOPATH is funny
    [!case-sensitive] cd $WORK/GoPath/src/my/cmd/prog
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top