Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 450 for checksum (0.05 seconds)

  1. tests/submodel_test.go

    package tests_test
    
    import (
    	"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"}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 947 bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginConfigurationValidator.java

    import org.codehaus.plexus.configuration.PlexusConfiguration;
    
    /**
     * Service responsible for validating plugin configuration.
     *
     */
    public interface MavenPluginConfigurationValidator {
        /**
         * Checks mojo configuration issues.
         */
        void validate(
                MavenSession mavenSession,
                MojoDescriptor mojoDescriptor,
                Class<?> mojoClass,
                PlexusConfiguration pomConfiguration,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedbackStepPromote.kt

            name = "Nightly Snapshot (from QuickFeedback) - Promote"
            description =
                "Promotes a previously built distribution on this agent on '${branch.branchName}' from Quick Feedback as a new nightly snapshot. This build checks out gradle-promote, so don't be misled by the 'master' branch."
    
            steps {
                buildStep(
                    ******@****.***arameters,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Mar 20 06:13:56 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. tensorflow/c/c_api_function.cc

                                   "' has a reference type ", DataTypeString(dt))
                 : absl::OkStatus();
    }
    
    // Converts `ninputs` and `inputs` into `inputs_tensors` and `input_nodes` and
    // does various checks while doing so. `input_nodes` will contain the same
    // information as input_tensors just in a different structure to make
    // following processing easier. TODO(iga): Simplify this nested structure.
    absl::Status ProcessInputs(
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Oct 12 16:27:48 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  5. cmd/erasure-decode_test.go

    		}
    		if n != test.data {
    			t.Fatalf("Test %d: failed to create erasure test file", i)
    		}
    		for i, w := range writers {
    			if w == nil {
    				disks[i] = nil
    			}
    		}
    
    		// Get the checksums of the current part.
    		bitrotReaders := make([]io.ReaderAt, len(disks))
    		for index, disk := range disks {
    			if disk == OfflineDisk {
    				continue
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            // DISCUSS
            "EnumOrdinal", // This violation is ubiquitous, though most are benign.
            "EqualsGetClass", // Let's agree if we want to adopt Error Prone's idea of valid equals()
            "JdkObsolete", // Most of the checks are good, but we do not want to replace all LinkedLists without a good reason
    
            // NEVER
            "AssignmentExpression", // Not using it is more a matter of taste.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. CONTRIBUTING.md

    $ git fetch upstream
    $ git merge upstream/master
    ...
    ```
    
    ### Create your feature branch
    
    Before making code changes, make sure you create a separate branch for these changes
    
    ```
    git checkout -b my-new-feature
    ```
    
    ### Test MinIO server changes
    
    After your code changes, make sure
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Aug 05 18:35:53 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. internal/event/target/postgresql_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package target
    
    import (
    	"database/sql"
    	"slices"
    	"testing"
    )
    
    // TestPostgreSQLRegistration checks if postgres driver
    // is registered and fails otherwise.
    func TestPostgreSQLRegistration(t *testing.T) {
    	var found bool
    	if slices.Contains(sql.Drivers(), "postgres") {
    		found = true
    	}
    	if !found {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. cmd/bitrot-streaming.go

    		totalFileSize := int64(-1) // For compressed objects length will be unknown (represented by length=-1)
    		if length != -1 {
    			bitrotSumsTotalSize := ceilFrac(length, shardSize) * int64(h.Size()) // Size used for storing bitrot checksums.
    			totalFileSize = bitrotSumsTotalSize + length
    		}
    		rb.CloseWithError(disk.CreateFile(context.TODO(), origvolume, volume, filePath, totalFileSize, rb))
    	}()
    	return bw
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 17 19:19:30 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

    import org.gradle.api.GradleException
    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.TaskAction
    import java.io.File
    
    
    /**
     * This [Task][org.gradle.api.Task] checks that the contents of a given accepted API changes files
     * are present in alphabetical order (by type, then member), and throws an exception and reports
     * any changes that are not.
     */
    @CacheableTask
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Nov 29 14:03:44 GMT 2024
    - 2.5K bytes
    - Click Count (0)
Back to Top