Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 1,225 for no (0.01 seconds)

  1. tests/main_test.go

    	}
    
    	if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	DB.Model(&User{}).Count(&count2)
    	if count1 != count2 {
    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    	if value, ok := DB.Set("hello", "world").Get("hello"); !ok {
    		t.Errorf("Should be able to get setting after set")
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 1.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

     * things like environment, system properties, extensions etc. are loaded only once. It is caller duty to ensure
     * that subsequent call is right for the resident instance (ie no env change or different extension needed).
     * This implementation "pre-populates" MavenContext with pre-existing stuff (except for very first call)
     * and does not let DI container to be closed.
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/SimplexTransferListenerTest.java

                        new TransferResource(null, null, "http://maven.org/test/test-resource", new File("file"), null);
                DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
    
                // for technical reasons we cannot throw here, even if delegate does cancel transfer
                listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. cmd/lock-rest-client.go

    	if err != nil {
    		return false, err
    	}
    	defer h.PutResponse(r)
    	ok = r.Code == dsync.RespOK
    	switch r.Code {
    	case dsync.RespLockConflict, dsync.RespLockNotFound, dsync.RespOK:
    	// no error
    	case dsync.RespLockNotInitialized:
    		err = errLockNotInitialized
    	default:
    		err = errors.New(r.Err)
    	}
    	return ok, err
    }
    
    // RLock calls read lock REST API.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jul 29 18:10:04 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  5. internal/handlers/proxy_test.go

    		{xForwardedProto, "HTTP", "http"},
    		{xForwardedScheme, "https", "https"},
    		{xForwardedScheme, "http", "http"},
    		{xForwardedScheme, "HTTP", "http"},
    		{forwarded, `For="[2001:db8:cafe::17]:4711`, ""},                    // No proto
    		{forwarded, `for=192.0.2.43, for=198.51.100.17;proto=https`, ""},    // Multiple params, will be empty.
    		{forwarded, `for=172.32.10.15; proto=https;by=127.0.0.1;`, "https"}, // Space before proto
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

            try {
                ClassMetaData classMetaData = classMetaData.find(className)
                if (!classMetaData) {
                    if (!className.contains('.internal.')) {
                        throw new RuntimeException("No meta-data found for class '$className'.")
                    }
                    classMetaData = new ClassMetaData(className)
                }
                try {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            return parser.getAttributeValue(null, "implementation");
        }
    
        /**
         * Attempts to load the named implementation, uses default implementation if no name is given.
         *
         * @param name The optional implementation name
         * @param defaultClazz The default implementation type
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java

     * the same weight, they are ordered by project ID for deterministic results.
     *
     * <p><b>Example:</b>
     * <p>Consider projects with dependencies: A → B → D, A → C → D
     * <ul>
     * <li>Project D: weight = 1 (no downstream dependencies)</li>
     * <li>Project B: weight = 2 (1 + max(D=1))</li>
     * <li>Project C: weight = 2 (1 + max(D=1))</li>
     * <li>Project A: weight = 3 (1 + max(B=2, C=2))</li>
     * </ul>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. scripts/docs.py

        config["extra"]["alternate"] = new_alternate
        return config
    
    
    @app.command()
    def ensure_non_translated() -> None:
        """
        Ensure there are no files in the non translatable pages.
        """
        print("Ensuring no non translated pages")
        lang_paths = get_lang_paths()
        error_paths = []
        for lang in lang_paths:
            if lang.name == "en":
                continue
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  10. cmd/data-scanner.go

    				if f.dataUsageScannerDebug {
    					console.Debugf(scannerLogPrefix+" no entity (%s,%s)\n", f.root, entName)
    				}
    				return nil
    			}
    			bucket, prefix := path2BucketObjectWithBasePath(f.root, entName)
    			if bucket == "" {
    				if f.dataUsageScannerDebug {
    					console.Debugf(scannerLogPrefix+" no bucket (%s,%s)\n", f.root, entName)
    				}
    				return errDoneForNow
    			}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
Back to Top