Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 439 for newsize (0.28 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/Block.java

        public abstract BlockPointer getPos();
    
        public abstract int getSize();
    
        public abstract RuntimeException blockCorruptedException();
    
        @Override
        public String toString() {
            return payload.getClass().getSimpleName() + " " + getPos();
        }
    
        public BlockPointer getNextPos() {
            return BlockPointer.pos(getPos().getPos() + getSize());
        }
    
        public abstract boolean hasPos();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocOptionFileWriterContext.java

            writeOptionHeader(option);
            newLine();
            return this;
        }
    
        public JavadocOptionFileWriterContext writeValueOption(String option, String value) throws IOException {
            writeOptionHeader(option);
            writeValue(value);
            newLine();
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. cmd/gotemplate/gotemplate.go

    // gotemplate also implements:
    // - include <filename>: returns the content of that file as string
    // - indent <number of spaces> <string>: replace each newline with "newline + spaces", indent the newline at the end
    // - trim <string>: strip leading and trailing whitespace
    
    func main() {
    	kvs := make(map[string]string)
    
    	for _, keyValue := range os.Args[1:] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/term/term_unsupported.go

    }
    
    func restore(fd int, state *State) error {
    	return fmt.Errorf("terminal: Restore not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    }
    
    func getSize(fd int) (width, height int, err error) {
    	return 0, 0, fmt.Errorf("terminal: GetSize not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    }
    
    func readPassword(fd int) ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/OptionLessStringsJavadocOptionFileOptionTest.groovy

            then:
            1 * writerContextMock.writeValue(firstValue) >> writerContextMock
            1 * writerContextMock.newLine() >> writerContextMock
            1 * writerContextMock.writeValue(secondValue) >> writerContextMock
            1 * writerContextMock.newLine() >> writerContextMock
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SigningFixtures.groovy

        }
    
        static SimpleKeyRing createSimpleKeyRing(File directory, String name = "gradle", String userId = "******@****.***", String password = "secret", int keySize = 1024) {
            def keyringDir = createKeyRingsInto(directory, userId, password, keySize)
            def secretKey = readSecretKey(keyringDir)
            def publicKey = readPublicKey(keyringDir)
            new SimpleKeyRing(name, secretKey, publicKey, password)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. src/os/file_windows.go

    func newConsoleFile(h syscall.Handle, name string) *File {
    	return newFile(h, name, "console")
    }
    
    // NewFile returns a new File with the given file descriptor and
    // name. The returned value will be nil if fd is not a valid file
    // descriptor.
    func NewFile(fd uintptr, name string) *File {
    	h := syscall.Handle(fd)
    	if h == syscall.InvalidHandle {
    		return nil
    	}
    	return newFile(h, name, "file")
    }
    
    func epipecheck(file *File, e error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/os/os_unix_test.go

    func TestNewFileNonBlock(t *testing.T) {
    	t.Parallel()
    	newFileTest(t, false)
    }
    
    func TestNewFileInvalid(t *testing.T) {
    	t.Parallel()
    	const negOne = ^uintptr(0)
    	if f := NewFile(negOne, "invalid"); f != nil {
    		t.Errorf("NewFile(-1) got %v want nil", f)
    	}
    }
    
    func TestSplitPath(t *testing.T) {
    	t.Parallel()
    	for _, tt := range []struct{ path, wantDir, wantBase string }{
    		{"a", ".", "a"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:32:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

                callback.onRetryChange(retryMs)
              }
            }
    
            -1 -> {
              val lineEnd = source.indexOfElement(CRLF)
              if (lineEnd != -1L) {
                // Skip the line and newline
                source.skip(lineEnd)
                source.select(options)
              } else {
                return false // No more newlines.
              }
            }
    
            else -> throw AssertionError()
          }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. cmd/data-usage_test.go

    		{name: "dir1/dira/dbfile", size: 200000},
    		{name: "dir1/dira/dirasub/dcfile", size: 1000000},
    		{name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10},
    	}
    	createUsageTestFiles(t, base, bucket, files)
    
    	getSize := func(item scannerItem) (sizeS sizeSummary, err error) {
    		if item.Typ&os.ModeDir == 0 {
    			var s os.FileInfo
    			s, err = os.Stat(item.Path)
    			if err != nil {
    				return
    			}
    			sizeS.totalSize = s.Size()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 27 15:10:40 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top