Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 2,110 for setA (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. schema/field_test.go

    		"updated_at": nil,
    		"deleted_at": time.Now(),
    		"age":        20,
    		"birthday":   time.Now(),
    		"active":     f,
    	}
    
    	for k, v := range newValues {
    		if err := userSchema.FieldsByDBName[k].Set(context.Background(), reflectValue, v); err != nil {
    			t.Errorf("no error should happen when assign value to field %v, but got %v", k, err)
    		}
    	}
    	newValues["updated_at"] = time.Time{}
    	newValues["active"] = false
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            @Test
            @DisplayName("Should set padding correctly")
            void testSetPadding() {
                assertDoesNotThrow(() -> request.setPadding((byte) 0));
                assertDoesNotThrow(() -> request.setPadding((byte) 1));
                assertDoesNotThrow(() -> request.setPadding((byte) 0xFF));
            }
    
            @Test
            @DisplayName("Should set read flags correctly")
            void testSetReadFlags() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  3. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

    import java.util.AbstractMap;
    import java.util.AbstractSet;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.function.BiFunction;
    import java.util.function.Function;
    import java.util.function.Predicate;
    
    /**
     * This should be removed when https://bugs.openjdk.org/browse/JDK-8323729
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            this.artifact = artifact;
    
            return this;
        }
    
        public ArtifactResolutionRequest setArtifactDependencies(Set<Artifact> artifactDependencies) {
            this.artifactDependencies = artifactDependencies;
    
            return this;
        }
    
        public Set<Artifact> getArtifactDependencies() {
            return artifactDependencies;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. internal/config/policy/plugin/config.go

    func (a *Args) Validate() error {
    	req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte("")))
    	if err != nil {
    		return err
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    	if a.AuthToken != "" {
    		req.Header.Set("Authorization", a.AuthToken)
    	}
    
    	client := &http.Client{Transport: a.Transport}
    	resp, err := client.Do(req)
    	if err != nil {
    		return err
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPlugin.java

                String subdir = archiveTaskToSubprojectName(t.getName());
                t.getDestinationDirectory().set(project.file(subdir + "/build/distributions"));
                t.getArchiveBaseName().set(subdir.contains("oss") ? "elasticsearch-oss" : "elasticsearch");
            });
        }
    
        private void configureTarDefaults(Project project) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 22 19:01:26 GMT 2021
    - 7.9K bytes
    - Click Count (0)
  7. buildscripts/rewrite-old-new.sh

    #!/bin/bash -e
    
    set -E
    set -o pipefail
    set -x
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO_OLD=("$PWD/minio.RELEASE.2020-10-28T08-16-50Z" --config-dir "$MINIO_CONFIG_DIR" server)
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function download_old_release() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  8. cmd/sts-handlers_test.go

    const (
    	EnvTestOpenIDServer  = "_MINIO_OPENID_TEST_SERVER"
    	EnvTestOpenIDServer2 = "_MINIO_OPENID_TEST_SERVER_2"
    )
    
    // SetUpOpenIDs - sets up one or more OpenID test servers using the test OpenID
    // container and canned data from https://github.com/minio/minio-ldap-testing
    //
    // Each set of client app params corresponds to a separate openid server, and
    // the i-th server in this will be applied the i-th policy in `rolePolicies`. If
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
  9. tests/test_dump_json_fast_path.py

    def get_explicit() -> Item:
        return Item(name="widget", price=9.99)
    
    
    client = TestClient(app)
    
    
    def test_default_response_class_skips_json_dumps():
        """When no response_class is set, the fast path serializes directly to
        JSON bytes via Pydantic's dump_json and never calls json.dumps."""
        with patch(
            "starlette.responses.json.dumps", wraps=__import__("json").dumps
        ) as mock_dumps:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:07:19 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/LocalCache.java

        // TODO(fry): batch by segment
        for (Object key : keys) {
          remove(key);
        }
      }
    
      @LazyInit @RetainedWith @Nullable Set<K> keySet;
    
      @Override
      public Set<K> keySet() {
        // does not impact recency ordering
        Set<K> ks = keySet;
        return (ks != null) ? ks : (keySet = new KeySet());
      }
    
      @LazyInit @RetainedWith @Nullable Collection<V> values;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
Back to Top