Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 696 for getMain (0.3 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/MainWithXCTestSourceElement.java

        }
    
        public abstract SwiftSourceElement getMain();
        public abstract XCTestSourceElement getTest();
    
        @Override
        public List<XCTestSourceFileElement> getTestSuites() {
            return getTest().getTestSuites();
        }
    
        @Override
        public List<SourceFile> getFiles() {
            return Lists.newArrayList(Iterables.concat(getMain().getFiles(), getTest().getFiles()));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppLibWithSimpleUnitTest.groovy

            return empty()
        }
    
        @Override
        SourceElement getSources() {
            return empty()
        }
    
        @Override
        public void writeToProject(TestFile projectDir) {
            getMain().writeToProject(projectDir);
            getTest().writeToProject(projectDir);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

        TF_ASSIGN_OR_RETURN(
            module_, test::GetMlirModuleFromString(module_string, &context_));
    
        context_.loadAllAvailableDialects();
        return absl::OkStatus();
      }
    
      absl::StatusOr<FuncOp> GetMain() {
        func::FuncOp main = module_->lookupSymbol<mlir::func::FuncOp>("main");
        if (!main) {
          return absl::NotFoundError("Could not find main function");
        }
        return main;
      }
    
     protected:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. pkg/util/iptables/testing/fake.go

    	if err != nil {
    		return false, err
    	}
    	if c, _ := f.Dump.GetChain(table, chain); c != nil {
    		return true, nil
    	}
    	t.Chains = append(t.Chains, Chain{Name: chain})
    	return false, nil
    }
    
    // FlushChain is part of iptables.Interface
    func (f *FakeIPTables) FlushChain(table iptables.Table, chain iptables.Chain) error {
    	if c, _ := f.Dump.GetChain(table, chain); c != nil {
    		c.Rules = nil
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml

                  enum:
                    - Delete
                    - Retain
                  type: string
                driver:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 26 07:24:12 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_utils.go

    	policy := getPersistentVolumeClaimRetentionPolicy(set)
    	const retain = apps.RetainPersistentVolumeClaimRetentionPolicyType
    	if policy.WhenScaled == retain && policy.WhenDeleted == retain {
    		// On a retain policy, it's not a problem for different controller to be managing the claims.
    		return false
    	}
    	for _, ownerRef := range claim.GetOwnerReferences() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Message.java

    package jcifs.util.transport;
    
    
    /**
     * @author mbechler
     *
     */
    public interface Message {
    
        /**
         * Indicate that this message should retain it's raw payload
         */
        void retainPayload ();
    
    
        /**
         * 
         * @return whether to retain the message payload
         */
        boolean isRetainPayload ();
    
    
        /**
         * 
         * @return the raw response message
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  8. test/fixedbugs/issue45045.go

    		if s := <-c; s != "first" {
    			panic("map[string], second key did not retain.")
    		}
    		runtime.KeepAlive(m)
    	}
    
    	{
    		c := make(chan string, 2)
    		m := make(map[[2]string]int)
    		m[[2]string{k(c, "first")}] = 0
    		m[[2]string{k(c, "second")}] = 0
    		runtime.GC()
    		if s := <-c; s != "first" {
    			panic("map[[2]string], second key did not retain.")
    		}
    		runtime.KeepAlive(m)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 28 03:27:04 UTC 2021
    - 997 bytes
    - Viewed (0)
  9. build-logic/packaging/src/main/kotlin/gradlebuild/shade/extension/ShadedJarExtension.kt

    import org.gradle.api.artifacts.Configuration
    import org.gradle.api.provider.SetProperty
    
    
    abstract class ShadedJarExtension(val shadedConfiguration: Configuration) {
    
        /**
         * Retain only those classes in the keep package hierarchies, plus any classes that are reachable from these classes.
         */
        abstract val keepPackages: SetProperty<String>
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  10. tests/test_response_change_status_code.py

        response.status_code = 201
    
    
    async def parent_dep(result=Depends(response_status_setter)):
        return result
    
    
    @app.get("/", dependencies=[Depends(parent_dep)])
    async def get_main():
        return {"msg": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.get("/")
        assert response.status_code == 201, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 589 bytes
    - Viewed (0)
Back to top