Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 914 for readFn (0.05 sec)

  1. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        }
    
        @Test
        @DisplayName("read(byte[],off,0): returns 0 without I/O")
        void read_lenZero_returnsZero() throws Exception {
            SmbRandomAccessFile raf = newInstance("r", false, false, false);
            byte[] buf = new byte[4];
            assertEquals(0, raf.read(buf, 0, 0));
        }
    
        @Test
        @DisplayName("read(): returns -1 when underlying read reports EOF")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. cmd/bucket-metadata.go

    	if err != nil {
    		return output, metabytes, err
    	}
    
    	outbuf := bytes.NewBuffer(nil)
    	objectKey := crypto.GenerateKey(key.Plaintext, rand.Reader)
    	sealedKey := objectKey.Seal(key.Plaintext, crypto.GenerateIV(rand.Reader), crypto.S3.String(), bucket, "")
    	crypto.S3.CreateMetadata(metadata, key.KeyID, key.Ciphertext, sealedKey)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            assertEquals(0, SMBUtil.readInt2(buffer, 2)); // max items
        }
    
        // Helper method to read string from buffer
        private String readStringFromBuffer(byte[] buffer, int offset, int length) {
            // Simple ASCII string reading for test purposes
            StringBuilder sb = new StringBuilder();
            for (int i = offset; i < offset + length && buffer[i] != 0; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_2x.md

    ## Version 2.5.0
    
    _2015-08-25_
    
     *  **Timeouts now default to 10 seconds.** Previously we defaulted to never
        timing out, and that was a lousy policy. If establishing a connection,
        reading the next byte from a connection, or writing the next byte to a
        connection takes more than 10 seconds to complete, you’ll need to adjust
        the timeouts manually.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  5. compat/maven-compat/pom.xml

              </models>
            </configuration>
            <executions>
              <execution>
                <id>modello</id>
                <goals>
                  <goal>java</goal>
                  <goal>xpp3-reader</goal>
                  <goal>xpp3-writer</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

    Nevertheless, you still enforce those scopes, or any other security/authorization requirement, however you need, in your code.
    
    In many cases, OAuth2 with scopes can be an overkill.
    
    But if you know you need it, or you are curious, keep reading.
    
    ///
    
    ## OAuth2 scopes and OpenAPI { #oauth2-scopes-and-openapi }
    
    The OAuth2 specification defines "scopes" as a list of strings separated by spaces.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // When & Then - Will throw SMBProtocolDecodingException when trying to read beyond buffer
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @DisplayName("Should read at different offsets correctly")
        @ParameterizedTest
        @ValueSource(ints = { 0, 10, 50, 100, 200 })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. docs/ru/docs/advanced/settings.md

    После этого можно протестировать, что он используется.
    
    ## Чтение файла `.env` { #reading-a-env-file }
    
    Если у вас много настроек, которые могут часто меняться, возможно в разных окружениях, может быть удобно поместить их в файл и читать оттуда как переменные окружения.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

            Map<String, PromptResultItemIF> dispatcherResult;
            Map<String, PromptResultItemIF> dispatcherConfigResult;
            Map<String, PromptResultItemIF> confirmChoice;
            ConsolePrompt prompt = new ConsolePrompt(context.reader, context.terminal, promptConfig);
    
            dispatcherResult = prompt.prompt(
                    context.header, dispatcherPrompt(prompt.getPromptBuilder()).build());
            if (dispatcherResult.isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. docs/kms/IAM.md

    set the env. variable `MINIO_KMS_SECRET_KEY` and start/restart the MinIO server. For more details about KES and how
    to set it up refer to our [KMS Guide](https://github.com/minio/minio/blob/master/docs/kms/README.md).
    
    Instead of configuring an external KMS you can start with a single key by
    setting the env. variable `MINIO_KMS_SECRET_KEY`. It expects the following
    format:
    
    ```sh
    MINIO_KMS_SECRET_KEY=<key-name>:<base64-value>
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top