Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 5,196 for stringy (0.11 sec)

  1. okhttp/src/test/java/okhttp3/CookieTest.kt

            "a=b; Path=/c; Domain=example.com; Max-Age=5; Secure;         ; SameSite=Lax",
          )
        for (stringA in cookieStrings) {
          val cookieA = parseCookie(0, url, stringA!!)
          for (stringB in cookieStrings) {
            val cookieB = parseCookie(0, url, stringB!!)
            if (stringA == stringB) {
              assertThat(cookieB.hashCode()).isEqualTo(cookieA.hashCode())
              assertThat(cookieB).isEqualTo(cookieA)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py

                                        "anyOf": [{"type": "string"}, {"type": "null"}],
                                        "title": "Strange Header",
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
                                    {"title": "Strange Header", "type": "string"}
                                ),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. cmd/metacache-stream.go

    	data  []byte
    	n     int
    	First string `json:"f"`
    	Last  string `json:"l"`
    	EOS   bool   `json:"eos,omitempty"`
    }
    
    func (b metacacheBlock) headerKV() map[string]string {
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	v, err := json.Marshal(b)
    	if err != nil {
    		bugLogIf(context.Background(), err) // Unlikely
    		return nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. cmd/warm-backend-minio.go

    	return remoteVersionID(res.VersionID), m.ToObjectError(err, object)
    }
    
    func (m *warmBackendMinIO) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    	return m.PutWithMeta(ctx, object, r, length, map[string]string{})
    }
    
    func newWarmBackendMinIO(conf madmin.TierMinIO, tier string) (*warmBackendMinIO, error) {
    	// Validation of credentials
    	if conf.AccessKey == "" || conf.SecretKey == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. callbacks/create.go

    		switch values := db.Statement.Dest.(type) {
    		case map[string]interface{}:
    			values[pkFieldName] = insertID
    		case *map[string]interface{}:
    			(*values)[pkFieldName] = insertID
    		case []map[string]interface{}, *[]map[string]interface{}:
    			mapValues, ok := values.([]map[string]interface{})
    			if !ok {
    				if v, ok := values.(*[]map[string]interface{}); ok {
    					if *v != nil {
    						mapValues = *v
    					}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. tests/multi_primary_keys_test.go

    }
    
    func compareTags(tags []Tag, contents []string) bool {
    	var tagContents []string
    	for _, tag := range tags {
    		tagContents = append(tagContents, tag.Value)
    	}
    	sort.Strings(tagContents)
    	sort.Strings(contents)
    	return reflect.DeepEqual(tagContents, contents)
    }
    
    func TestManyToManyWithMultiPrimaryKeys(t *testing.T) {
    	if name := DB.Dialector.Name(); name == "sqlite" || name == "sqlserver" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

       * and returns {@code null} if non-ASCII digits are present in the string.
       *
       * <p>Note that strings prefixed with ASCII {@code '+'} are rejected, even though {@link
       * Integer#parseInt(String)} accepts them.
       *
       * @param string the string representation of an integer value
       * @return the integer value represented by {@code string}, or {@code null} if {@code string} has
       *     a length of zero or cannot be parsed as an integer value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. internal/s3select/jstream/errors.go

    	}
    	return s
    }
    
    // quoteChar formats c as a quoted character literal
    func quoteChar(c byte) string {
    	// special cases - different from quoted strings
    	if c == '\'' {
    		return `'\''`
    	}
    	if c == '"' {
    		return `'"'`
    	}
    
    	// use quoted string with different quotation marks
    	s := strconv.Quote(string(c))
    	return "'" + s[1:len(s)-1] + "'"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertEquals(getRoot() + "Program File", ResourceUtil.getFileName(url));
            url = ResourceUtil.getResource("java/lang/String.class");
            assertNull(ResourceUtil.getFile(url));
        }
    
        private String getRoot() throws IOException {
            final String root = new File("/").getCanonicalPath().replace('\\', '/');
            if (root.startsWith("/")) {
                return root;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          assertThat(expected).hasMessage("constructed octet strings not supported for DER")
        }
      }
    
      @Test fun `cannot decode constructed bit string`() {
        assertFailsWith<ProtocolException> {
          Adapters.BIT_STRING.fromDer(
            "231203070068656c6c6f20030700776f726c6421".decodeHex(),
          )
        }.also { expected ->
          assertThat(expected).hasMessage("constructed bit strings not supported for DER")
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top