Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,461 for charge (0.05 seconds)

  1. tests/submodel_test.go

    	"testing"
    
    	"gorm.io/gorm"
    )
    
    type Man struct {
    	ID     int
    	Age    int
    	Name   string
    	Detail string
    }
    
    // Panic-safe BeforeUpdate hook that checks for Changed("age")
    func (m *Man) BeforeUpdate(tx *gorm.DB) (err error) {
    	if !tx.Statement.Changed("age") {
    		return nil
    	}
    	return nil
    }
    
    func TestSubModel(t *testing.T) {
    	man := Man{Age: 18, Name: "random-name"}
    	if err := DB.Create(&man).Error; err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 947 bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

         * to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the
         * indirection.
         *
         * One thing to *avoid* is a change to make each Logger user use memoizingSupplier directly:
         * That may introduce an extra class for each lambda (currently a dozen).
         */
        Logger local = logger;
        if (local != null) {
          return local;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/TearDown.java

       *
       * <p>tl4j details: For backwards compatibility, {@code junit3.TearDownTestCase} currently does
       * not fail a test when an exception is thrown from one of its {@link TearDown} instances, but
       * this is subject to change. Also, {@code junit4.TearDownTestCase} will.
       *
       * @throws Exception for any reason. {@code TearDownTestCase} ensures that any exception thrown
       *     will not interfere with other TearDown operations.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  4. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            sv.setUpdated("20200710072412");
            target.getVersioning().addSnapshotVersion(sv);
    
            Metadata source = createMetadataFromArtifact(artifact);
            // nothing should be actually changed, but still merge returns true
            assertTrue(target.merge(source));
    
            // NOTE! Merge updates last updated to source
            assertEquals("20200921071745", source.getVersioning().getLastUpdated());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  5. lib/time/update.bash

    # update CODE and DATA below, and then run
    #
    #	./update.bash -commit
    #
    # That will prepare the files and create the commit.
    #
    # To review such a commit (as the reviewer), use:
    #
    #	git codereview change NNNNNN   # CL number
    #	cd lib/time
    #	./update.bash
    #
    # If it prints "No updates needed.", then the generated files
    # in the CL match the update.bash in the CL.
    
    # Versions to use.
    CODE=2025c
    DATA=2025c
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Dec 11 16:47:56 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. scripts/general-llm-prompt.md

    echo "Hello, World!"
    ```
    
    Result (German):
    
    ```bash
    # Gruß ausgeben
    echo "Hello, World!"
    ```
    
    Source (English) - The code block is a console example containing HTML tags. No comments, so nothing to change here:
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run <u style="text-decoration-style:solid">main.py</u>
    <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting server
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 18 10:55:36 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  7. lib/wasm/wasm_exec.js

    				},
    				gojs: {
    					// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    					// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).
    					// This changes the SP, thus we have to update the SP used by the imported function.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         * @see CopyOptions#beanDelimiter(char)
         */
        public static CopyOptions beanDelimiter(final char beanDelimiter) {
            return new CopyOptions().beanDelimiter(beanDelimiter);
        }
    
        /**
         * Returns a {@link CopyOptions} with the specified delimiter for {@literal Map}.
         * <p>
         * When copying between JavaBeans and {@link Map}, you can change the delimiter for property names.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  9. cmd/xl-storage-format-v2_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[invalidVersionType-0]
    	_ = x[ObjectType-1]
    	_ = x[DeleteType-2]
    	_ = x[LegacyType-3]
    	_ = x[lastVersionType-4]
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Dec 02 19:29:16 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/auth/chain/LdapChain.java

            ComponentUtil.getLdapManager().delete(user);
        }
    
        @Override
        public boolean changePassword(final String username, final String password) {
            final boolean changed = ComponentUtil.getLdapManager().changePassword(username, password);
            return !changed || ComponentUtil.getFessConfig().isLdapAdminSyncPassword();
        }
    
        @Override
        public User load(final User user) {
            ComponentUtil.getLdapManager().apply(user);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top