Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 137 for readSize (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

            final StringBuilder buf = new StringBuilder(1000);
            try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) {
                header = ReaderUtil.readLine(reader);
                if (header == null) {
                    throwValidationError(messages -> messages.addErrorsInvalidHeaderForRequestFile(GLOBAL, "no header"),
                            () -> asListHtml(this::saveToken));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. docs_src/generate_clients/tutorial004.js

    import * as fs from 'fs'
    
    async function modifyOpenAPIFile(filePath) {
      try {
        const data = await fs.promises.readFile(filePath)
        const openapiContent = JSON.parse(data)
    
        const paths = openapiContent.paths
        for (const pathKey of Object.keys(paths)) {
          const pathData = paths[pathKey]
          for (const method of Object.keys(pathData)) {
            const operation = pathData[method]
            if (operation.tags && operation.tags.length > 0) {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 14 11:40:05 GMT 2024
    - 1K bytes
    - Click Count (0)
  3. cmd/sftp-server_test.go

    				suite.SFTPPublicKeyAuthNoPubKey(c)
    
    				suite.TearDownSuite(c)
    			},
    		)
    	}
    }
    
    func (s *TestSuiteIAM) SFTPFailedPublicKeyAuthenticationInvalidKey(c *check) {
    	keyBytes, err := os.ReadFile("./testdata/invalid_test_key.pub")
    	if err != nil {
    		c.Fatalf("could not read test key file: %s", err)
    	}
    
    	testKey, _, _, _, err := ssh.ParseAuthorizedKey(keyBytes)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Feb 27 18:43:32 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Encrypt.java

            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        protected int doExecute(EncryptContext context) throws Exception {
            String cleartext = context.reader.readLine("Enter the password to encrypt: ", '*');
            context.terminal.writer().println(secDispatcher.encrypt(cleartext, null));
            return OK;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java

                            try (BufferedReader reader = eventWriter.reader()) {
                                PrintStream out = System.out;
                                for (String message = reader.readLine(); message != null; message = reader.readLine()) {
                                    if (message.startsWith("  1> ")) {
                                        out = System.out;
                                    } else if (message.startsWith("  2> ")) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/ByteStreamsTest.java

            ByteStreams.newDataInput(
                "This is a line\r\nThis too\rand this\nand also this".getBytes(UTF_8));
        assertThat(in.readLine()).isEqualTo("This is a line");
        assertThat(in.readLine()).isEqualTo("This too");
        assertThat(in.readLine()).isEqualTo("and this");
        assertThat(in.readLine()).isEqualTo("and also this");
      }
    
      public void testNewDataInput_readFloat() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  7. internal/kms/config.go

    				// if so, decrypt it using the user-provided password.
    				certBytes, err := os.ReadFile(certFile)
    				if err != nil {
    					return tls.Certificate{}, fmt.Errorf("Unable to load KES client certificate as specified by the shell environment: %v", err)
    				}
    				keyBytes, err := os.ReadFile(keyFile)
    				if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15K bytes
    - Click Count (0)
  8. src/archive/tar/writer.go

    			}
    
    			// Update size fields in the header block.
    			realSize := hdr.Size
    			hdr.Size = 0 // Encoded size; does not account for encoded sparse map
    			for _, s := range spd {
    				hdr.Size += s.Length
    			}
    			copy(blk.V7().Size(), zeroBlock[:]) // Reset field
    			f.formatNumeric(blk.V7().Size(), hdr.Size)
    			f.formatNumeric(blk.GNU().RealSize(), realSize)
    		}
    	*/
    	blk.setFormat(FormatGNU)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Feb 03 16:38:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  9. cmd/tier-last-day-stats_gen.go

    					err = zb0002.Bins[zb0003].DecodeMsg(dc)
    					if err != nil {
    						err = msgp.WrapError(err, zb0001, "Bins", zb0003)
    						return
    					}
    				}
    			case "UpdatedAt":
    				zb0002.UpdatedAt, err = dc.ReadTime()
    				if err != nil {
    					err = msgp.WrapError(err, zb0001, "UpdatedAt")
    					return
    				}
    			default:
    				err = dc.Skip()
    				if err != nil {
    					err = msgp.WrapError(err, zb0001)
    					return
    				}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

            ByteStreams.newDataInput(
                "This is a line\r\nThis too\rand this\nand also this".getBytes(UTF_8));
        assertThat(in.readLine()).isEqualTo("This is a line");
        assertThat(in.readLine()).isEqualTo("This too");
        assertThat(in.readLine()).isEqualTo("and this");
        assertThat(in.readLine()).isEqualTo("and also this");
      }
    
      public void testNewDataInput_readFloat() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
Back to Top