Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1021 - 1030 of 1,590 for EXAMPLE (0.08 seconds)

  1. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

          hash += Double.hashCode(array[i]);
        }
        return hash;
      }
    
      /**
       * Returns a string representation of this array in the same form as {@link
       * Arrays#toString(double[])}, for example {@code "[1, 2, 3]"}.
       */
      @Override
      public String toString() {
        if (isEmpty()) {
          return "[]";
        }
        StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

          hash *= 31;
          hash += Integer.hashCode(array[i]);
        }
        return hash;
      }
    
      /**
       * Returns a string representation of this array in the same form as {@link
       * Arrays#toString(int[])}, for example {@code "[1, 2, 3]"}.
       */
      @Override
      public String toString() {
        if (isEmpty()) {
          return "[]";
        }
        StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  3. cmd/object-api-utils.go

    		// md5Sum tag is kept for backward compatibility.
    		etag = metadata["md5Sum"]
    	}
    	// Success.
    	return etag
    }
    
    // HasPrefix - Prefix matcher string matches prefix in a platform specific way.
    // For example on windows since its case insensitive we are supposed
    // to do case insensitive checks.
    func HasPrefix(s string, prefix string) bool {
    	if runtime.GOOS == globalWindowsOSName {
    		return stringsHasPrefixFold(s, prefix)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

            List<String> urls = new ArrayList<>();
            urls.add("http://example.com/page1");
            urls.add("http://example.com/page2");
            urls.add("http://example.com/page1"); // Duplicate
            urls.add("http://example.com/page3");
            urls.add("http://example.com/page2"); // Duplicate
    
            Set<RequestData> result = crawlerThread.getAnchorSet(urls);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            assertFalse(protocolHelper.isValidWebProtocol("ftp://example.com"));
            assertFalse(protocolHelper.isValidWebProtocol("file://example.com"));
            assertFalse(protocolHelper.isValidWebProtocol("smb://example.com"));
            assertFalse(protocolHelper.isValidWebProtocol("ldap://example.com"));
            assertFalse(protocolHelper.isValidWebProtocol("example.com"));
            assertFalse(protocolHelper.isValidWebProtocol(""));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 35.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableMultimap.java

        return new Builder<>(expectedKeys);
      }
    
      /**
       * A builder for creating immutable multimap instances, especially {@code public static final}
       * multimaps ("constant multimaps"). Example:
       *
       * {@snippet :
       * static final Multimap<String, Integer> STRING_TO_INTEGER_MULTIMAP =
       *     new ImmutableMultimap.Builder<String, Integer>()
       *         .put("one", 1)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  7. cmd/streaming-signature-v4.go

    }
    
    // Constant s3 chunk encoding signature.
    const s3ChunkSignatureStr = ";chunk-signature="
    
    // parses3ChunkExtension removes any s3 specific chunk-extension from buf.
    // For example,
    //
    //	"10000;chunk-signature=..." => "10000", "chunk-signature=..."
    func parseS3ChunkExtension(buf []byte) ([]byte, []byte) {
    	buf = trimTrailingWhitespace(buf)
    	semi := bytes.Index(buf, []byte(s3ChunkSignatureStr))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                     * for the addresses hostname or failed lookups for one type will
                     * be cached and cause other types to fail even though they may
                     * not be the authority for the name. For example, if a WINS lookup
                     * for FOO fails and caches unknownAddress for FOO, a subsequent
                     * lookup for FOO using BCAST should not fail because of that
                     * name cached from WINS.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Multiset.java

     * also defines an additional query operation, {@link #count}, which returns the count of an
     * element. There are five new bulk-modification operations, for example {@link #add(Object, int)},
     * to add or remove multiple occurrences of an element at once, or to set the count of an element to
     * a specific value. These modification operations are optional, but implementations which support
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  10. tests/test_response_model_data_filter_no_inheritance.py

        response = client.post(
            "/users", json={"email": "johndoe@example.com", "password": "secret"}
        )
        assert response.json() == {"email": "johndoe@example.com"}
    
    
    def test_filter_second_level_model():
        response = client.get("/pets/1")
        assert response.json() == {
            "name": "Nibbler",
            "owner": {"email": "johndoe@example.com"},
        }
    
    
    def test_list_of_models():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top