Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2661 - 2670 of 6,447 for aString (0.04 sec)

  1. src/bytes/reader_test.go

    		if expect := int64(len(s)); n != expect {
    			t.Errorf("got %v; want %v", n, expect)
    		}
    		if err != nil {
    			t.Errorf("for length %d: got error = %v; want nil", l, err)
    		}
    		if b.String() != s {
    			t.Errorf("got string %q; want %q", b.String(), s)
    		}
    		if r.Len() != 0 {
    			t.Errorf("reader contains %v bytes; want 0", r.Len())
    		}
    	}
    }
    
    func TestReaderLen(t *testing.T) {
    	const data = "hello world"
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/JoinerTest.java

        assertEquals("1:a;1:b", j.join(ImmutableMultimap.of("1", "a", "1", "b").entries().iterator()));
    
        Map<@Nullable String, @Nullable String> mapWithNulls = new LinkedHashMap<>();
        mapWithNulls.put("a", null);
        mapWithNulls.put(null, "b");
        Set<Entry<String, String>> entriesWithNulls = mapWithNulls.entrySet();
    
        assertThrows(NullPointerException.class, () -> j.join(entriesWithNulls));
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

      }
    
      public void testRecursiveComputation() throws InterruptedException {
        AtomicReference<LoadingCache<Integer, String>> cacheRef = new AtomicReference<>();
        CacheLoader<Integer, String> recursiveLoader =
            new CacheLoader<Integer, String>() {
              @Override
              public String load(Integer key) {
                if (key > 0) {
                  return key + ", " + cacheRef.get().getUnchecked(key - 1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

         */
        @Override
        public int hashCode() {
            return java.util.Objects.hash(loc, lastmod);
        }
    
        /**
         * Returns a string representation of this SitemapFile.
         * @return A string representation.
         */
        @Override
        public String toString() {
            return "SitemapFile [loc=" + loc + ", lastmod=" + lastmod + "]";
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.4K bytes
    - Viewed (1)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

        private Set<String> excludes;
    
        public ExclusionSetFilter(String[] excludes) {
            this.excludes = new LinkedHashSet<>(Arrays.asList(excludes));
        }
    
        public ExclusionSetFilter(Set<String> excludes) {
            this.excludes = excludes;
        }
    
        @Override
        public boolean include(Artifact artifact) {
            String id = artifact.getArtifactId();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. clause/benchmarks_test.go

    			stmt.AddClause(clause)
    		}
    
    		stmt.Build("SELECT", "FROM", "WHERE")
    		_ = stmt.SQL.String()
    	}
    }
    
    func BenchmarkComplexSelect(b *testing.B) {
    	user, _ := schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy)
    
    	limit10 := 10
    	for i := 0; i < b.N; i++ {
    		stmt := gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    		clauses := []clause.Interface{
    			clause.Select{},
    			clause.From{},
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Oct 07 12:14:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_path_params/test_tutorial005.py

                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                }
            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. internal/config/lambda/help.go

    			Type:        "url",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         target.WebhookAuthToken,
    			Description: "opaque string or JWT authorization token",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    			Optional:    true,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. internal/config/browser/help.go

    // Help template for browser feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         browserCSPPolicy,
    			Description: `set Content-Security-Policy response header value` + defaultHelpPostfix(browserCSPPolicy),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         browserHSTSSeconds,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 01 16:36:33 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/CopyUtil.java

        }
    
        // ////////////////////////////////////////////////////////////////
        // from String to OutputStream
        //
        /**
         * Copies a string to an output stream using the platform default encoding.
         * <p>
         * The output stream is not closed.
         * </p>
         *
         * @param in the string (must not be {@literal null})
         * @param out the output stream (must not be {@literal null})
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
Back to top