Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5971 - 5980 of 6,573 for tstring (0.04 sec)

  1. docs/debugging/inspect/decrypt-v2.go

    package main
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/minio/madmin-go/v3/estream"
    )
    
    type keepFileErr struct {
    	error
    }
    
    func extractInspectV2(pks [][]byte, r io.Reader, extractDir string) error {
    	sr, err := estream.NewReader(r)
    	if err != nil {
    		return err
    	}
    	for _, pk := range pks {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. internal/ringbuffer/README.md

    )
    
    func main() {
    	rb := ringbuffer.New(1024)
    
    	// write
    	rb.Write([]byte("abcd"))
    	fmt.Println(rb.Length())
    	fmt.Println(rb.Free())
    
    	// read
    	buf := make([]byte, 4)
    	rb.Read(buf)
    	fmt.Println(string(buf))
    }
    ```
    
    It is possible to use an existing buffer with by replacing `New` with `NewBuffer`.
    
    
    # Blocking vs Non-blocking
    
    The default behavior of the ring buffer is non-blocking, 
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/validation/UriType.java

         *
         * @return the protocol type
         */
        ProtocolType protocolType();
    
        /**
         * The validation error message.
         *
         * @return the error message
         */
        String message() default "{org.lastaflute.validator.constraints.UriType.message}";
    
        /**
         * The validation groups.
         *
         * @return the validation groups
         */
        Class<?>[] groups() default {};
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

         *
         * @param server the server name to connect to
         * @param access the desired access rights
         * @param policyHandle the policy handle to be populated
         */
        public MsrpcLsarOpenPolicy2(final String server, final int access, final LsaPolicyHandle policyHandle) {
            super(server, new lsarpc.LsarObjectAttributes(), access, policyHandle);
            object_attributes.length = 24;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt

        (this as Object).notifyAll()
      }
    
      @Synchronized
      override fun onResponse(
        call: Call,
        response: Response,
      ) {
        val body = response.body.string()
        responses.add(RecordedResponse(call.request(), response, null, body, null))
        (this as Object).notifyAll()
      }
    
      /**
       * Returns the recorded response triggered by `request`. Throws if the response isn't
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformationTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @PlexusTest
    class DefaultRuntimeInformationTest {
        @Inject
        RuntimeInformation rtInfo;
    
        @Test
        void testGetMavenVersion() {
            String mavenVersion = rtInfo.getMavenVersion();
            assertNotNull(mavenVersion);
            assertTrue(!mavenVersion.isEmpty(), "Expected Maven version to not be empty but was: " + mavenVersion);
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

    import org.jspecify.annotations.Nullable;
    
    /** A holder for a {@link Logger} that is initialized only when requested. */
    @GwtCompatible
    final class LazyLogger {
      private final Object lock = new Object();
    
      private final String loggerName;
      private volatile @Nullable Logger logger;
    
      LazyLogger(Class<?> ownerOfLogger) {
        this.loggerName = ownerOfLogger.getName();
      }
    
      Logger get() {
        /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

            .post(requestBody)
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    
      companion object {
        /**
         * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenMixedDependenciesValidator.java

        }
    
        @Override
        protected void doValidate(
                RepositorySystemSession session,
                Artifact pluginArtifact,
                ArtifactDescriptorResult artifactDescriptorResult) {
            Set<String> mavenVersions = artifactDescriptorResult.getDependencies().stream()
                    .map(Dependency::getArtifact)
                    .filter(d -> "org.apache.maven".equals(d.getGroupId()))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/settings/SettingsUtils.java

            // don't allow construction.
        }
    
        /**
         * @param dominant
         * @param recessive
         * @param recessiveSourceLevel
         */
        public static void merge(Settings dominant, Settings recessive, String recessiveSourceLevel) {
            if (dominant != null && recessive != null) {
                dominant.delegate = SettingsUtilsV4.merge(dominant.getDelegate(), recessive.getDelegate());
            }
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top