Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3251 - 3260 of 5,001 for fstring (0.04 sec)

  1. src/test/java/org/codelibs/fess/dict/DictionaryFileTest.java

            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    
        // Additional test for coverage
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
            assertTrue(str.startsWith("H"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbAuthException.java

        SmbAuthException(final int errcode) {
            super(errcode, null);
        }
    
        SmbAuthException(final String message) {
            super(message);
        }
    
        SmbAuthException(final String message, final Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

    import org.apache.maven.artifact.Artifact;
    
    /** Artifact Filter which filters on artifact type */
    @Deprecated
    public class TypeArtifactFilter implements ArtifactFilter {
        private String type = "jar";
    
        public TypeArtifactFilter(String type) {
            this.type = type;
        }
    
        @Override
        public boolean include(Artifact artifact) {
            return type.equals(artifact.getType());
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/cisupport/CIInfo.java

     */
    public interface CIInfo {
        /**
         * Short distinct name of CI system: "GH", "Jenkins", etc.
         */
        @Nonnull
        String name();
    
        /**
         * May return a message that will be logged by Maven explaining why it was detected (and possibly more).
         */
        @Nonnull
        default String message() {
            return "";
        }
    
        /**
         * Some CI systems may allow running jobs in "debug" (or some equivalent) mode.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. clause/from_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestFrom(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}},
    			"SELECT * FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{
    				clause.Select{}, clause.From{
    					Tables: []clause.Table{{Name: "users"}},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jul 15 02:25:10 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  6. docs/features/events.md

        printEvent("callStart");
      }
    
      @Override public void callEnd(Call call) {
        printEvent("callEnd");
      }
    
      @Override public void dnsStart(Call call, String domainName) {
        printEvent("dnsStart");
      }
    
      @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) {
        printEvent("dnsEnd");
      }
    
      ...
    }
    ```
    
    We make a couple calls:
    
    ```java
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

        }
    
        @Test
        @DisplayName("Test statistics toString")
        void testStatisticsToString() throws Exception {
            circuitBreaker.call(() -> "success");
    
            SimpleCircuitBreaker.Statistics stats = circuitBreaker.getStatistics();
            String str = stats.toString();
    
            assertNotNull(str);
            assertTrue(str.contains("test"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            advance(8);
            return val;
        }
    
        /* float */
        /* double */
        /**
         * Encodes a string in NDR format.
         *
         * @param s the string to encode
         */
        public void enc_ndr_string(final String s) {
            align(4);
            int i = this.index;
            final int len = s.length();
            Encdec.enc_uint32le(len + 1, this.buf, i);
            i += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/BaseContextTest.java

            String[] validUrls = { "smb://server/share/", "smb://server/share/file.txt", "smb://user:pass@server/share/file.txt",
                    "smb://domain;user:pass@server/share/file.txt" };
    
            for (String url : validUrls) {
                // When
                SmbResource resource = context.get(url);
    
                // Then
                assertNotNull(resource, "Should create resource for URL: " + url);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. docs/debugging/inspect/export.go

    import (
    	"bytes"
    	"encoding/binary"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    
    	json "github.com/minio/colorjson"
    
    	"github.com/klauspost/compress/zip"
    	"github.com/tinylib/msgp/msgp"
    )
    
    func inspectToExportType(downloadPath string, datajson bool) error {
    	decode := func(r io.Reader, file string) ([]byte, error) {
    		b, e := io.ReadAll(r)
    		if e != nil {
    			return nil, e
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:38:44 UTC 2025
    - 9.1K bytes
    - Viewed (1)
Back to top