Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 3,813 for Create (0.04 seconds)

  1. tests/callbacks_test.go

    		}
    
    		if ok, msg := assertCallbacks(callbacks.Create(), data.results); !ok {
    			t.Errorf("callbacks tests #%v failed, got %v", idx+1, msg)
    		}
    	}
    }
    
    func TestPluginCallbacks(t *testing.T) {
    	db, _ := gorm.Open(nil, nil)
    	createCallback := db.Callback().Create()
    
    	createCallback.Before("*").Register("plugin_1_fn1", c1)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 7.2K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.nio.file.Files;
    
    import static java.nio.file.StandardOpenOption.CREATE;
    import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING;
    import static java.util.Arrays.asList;
    
    public class InternalBwcGitPlugin implements Plugin<Project> {
    
        private final ProviderFactory providerFactory;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
  3. tests/test_security_api_key_header_optional.py

        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User | None = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_api_key():
        response = client.get("/users/me", headers={"key": "secret"})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPlugin.java

            Provider<File> checkoutDir = versionInfoProvider.map(info -> new File(project.getBuildDir(), "bwc/checkout-" + info.branch));
            BwcSetupExtension bwcSetupExtension = project.getExtensions()
                .create("bwcSetup", BwcSetupExtension.class, project, versionInfoProvider, bwcTaskThrottleProvider, checkoutDir);
            BwcGitExtension gitExtension = project.getPlugins().apply(InternalBwcGitPlugin.class).getGitExtension();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 18 09:11:28 GMT 2021
    - 14.5K bytes
    - Click Count (0)
  5. .github/workflows/update-perf-test-buckets.yml

              ./gradlew performance:writePerformanceTimes -Porg.gradle.performance.db.url=${{ env.PERFORMANCE_DB_URL }} -Porg.gradle.performance.db.username=${{ env.PERFORMANCE_DB_USERNAME }}
          - name: Create Pull Request
            uses: peter-evans/create-pull-request@v8
            with:
              commit-message: Update performance test durations
              branch: bot-update-performance-test-durations
              branch-suffix: timestamp
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 24 22:05:21 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  6. tensorflow/c/c_api_experimental.h

    // Tensorflow's CPU implementation through constant folding.
    TF_CAPI_EXPORT unsigned char TF_GetXlaConstantFoldingDisabled();
    TF_CAPI_EXPORT void TF_SetXlaConstantFoldingDisabled(
        unsigned char should_enable);
    
    // Create a serialized tensorflow.ConfigProto proto, where:
    //
    // a) ConfigProto.optimizer_options.global_jit_level is set to ON_1 if
    // `enable_xla_compilation` is non-zero, and OFF otherwise.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                    // create it if necessary
                    this.openFunction = OPEN_FN_TRUNC | OPEN_FN_CREATE;
                } else {
                    this.openFunction = OPEN_FN_TRUNC;
                }
            } else // don't truncate the file
            if ((flags & SmbConstants.O_CREAT) == SmbConstants.O_CREAT) {
                // create it if necessary
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create integer sets for testing collections that are sorted by natural ordering.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator {
      @Override
      protected abstract SortedSet<Integer> create(Integer[] elements);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    You might notice that to create an instance of a Python class, you use that same syntax.
    
    For example:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In this case, `fluffy` is an instance of the class `Cat`.
    
    And to create `fluffy`, you are "calling" `Cat`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  10. .teamcity/scripts/update_wrapper_and_create_pr.sh

    #!/bin/bash
    set -e
    
    # Script to update Gradle wrapper and create a pull request
    # 
    # Usage:
    #   ./update_wrapper_and_create_pr.sh [wrapper_version]
    #
    # Arguments:
    #   wrapper_version - The Gradle version to update the wrapper to
    # 
    # Environment variables:
    #   DEFAULT_BRANCH  - The default branch to create the pull request on (e.g. "master"/"release")
    #   GITHUB_TOKEN    - GitHub bot token
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 29 03:20:20 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top