Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 4,452 for Lint (0.06 seconds)

  1. tests/embedded_struct_test.go

    		t.Errorf("Failed to create got error %v", err)
    	}
    }
    
    func TestEmbeddedRelations(t *testing.T) {
    	type EmbUser struct {
    		gorm.Model
    		Name      string
    		Age       uint
    		Languages []Language `gorm:"many2many:EmbUserSpeak;"`
    	}
    
    	type AdvancedUser struct {
    		EmbUser  `gorm:"embedded"`
    		Advanced bool
    	}
    
    	DB.Migrator().DropTable(&AdvancedUser{})
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed May 08 04:07:58 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  2. tests/associations_test.go

    	}
    }
    
    func TestForeignKeyConstraints(t *testing.T) {
    	tidbSkip(t, "not support the foreign key feature")
    
    	type Profile struct {
    		ID       uint
    		Name     string
    		MemberID uint
    	}
    
    	type Member struct {
    		ID      uint
    		Refer   uint `gorm:"uniqueIndex"`
    		Name    string
    		Profile Profile `gorm:"Constraint:OnUpdate:CASCADE,OnDelete:CASCADE;FOREIGNKEY:MemberID;References:Refer"`
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

    import org.slf4j.LoggerFactory;
    
    import static java.util.Comparator.comparing;
    
    /**
     * Builds the {@link ProjectDependencyGraph inter-dependencies graph} between projects in the reactor.
     */
    @Named(GraphBuilder.HINT)
    @Singleton
    public class DefaultGraphBuilder implements GraphBuilder {
        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultGraphBuilder.class);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

                new int[] {LEAST, LEAST},
                new int[] {LEAST, (int) 1L},
                new int[] {(int) 1L},
                new int[] {(int) 1L, LEAST},
                new int[] {GREATEST, (GREATEST - (int) 1L)},
                new int[] {GREATEST, GREATEST},
                new int[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<int[]> comparator = UnsignedInts.lexicographicalComparator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbConstants.java

        int CAP_RAW_MODE = 0x0001;
        /**
         * Multiplex mode is supported capability.
         */
        int CAP_MPX_MODE = 0x0002;
        /**
         * Unicode strings are supported capability.
         */
        int CAP_UNICODE = 0x0004;
        /**
         * Large files are supported capability.
         */
        int CAP_LARGE_FILES = 0x0008;
        /**
         * NT SMBs are supported capability.
         */
        int CAP_NT_SMBS = 0x0010;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/IntsTest.java

                Ints.indexOf(
                    new int[] {(int) 2, (int) 3, (int) 2, (int) 3, (int) 4, (int) 2, (int) 3},
                    new int[] {(int) 2, (int) 3, (int) 4}))
            .isEqualTo(2);
        assertThat(
                Ints.indexOf(
                    new int[] {(int) 2, (int) 2, (int) 3, (int) 4, (int) 2, (int) 3, (int) 4},
                    new int[] {(int) 2, (int) 3, (int) 4}))
            .isEqualTo(1);
        assertThat(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

          int x = xInts[j];
          int y = yInts[j];
          int z = constant[j];
          tmp += z + IntMath.lessThanBranchFree(x, y);
        }
        return tmp;
      }
    
      @Benchmark
      int ternaryLtIntAddOutsideTernary(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & SAMPLE_MASK;
          int x = xInts[j];
          int y = yInts[j];
          int z = constant[j];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java

    @NullUnmarked
    public class IntMathBenchmark {
      private static final int[] exponent = new int[ARRAY_SIZE];
      private static final int[] factorial = new int[ARRAY_SIZE];
      private static final int[] binomial = new int[ARRAY_SIZE];
      private static final int[] positive = new int[ARRAY_SIZE];
      private static final int[] nonnegative = new int[ARRAY_SIZE];
      private static final int[] ints = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

    @GwtCompatible
    public final class CacheBuilder<K, V> {
      private static final int DEFAULT_INITIAL_CAPACITY = 16;
      private static final int DEFAULT_CONCURRENCY_LEVEL = 4;
    
      @SuppressWarnings("GoodTime") // should be a Duration
      private static final int DEFAULT_EXPIRATION_NANOS = 0;
    
      @SuppressWarnings("GoodTime") // should be a Duration
      private static final int DEFAULT_REFRESH_NANOS = 0;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

      int copyArrayList(int reps) {
        int size = this.size;
        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
          List<Object> builder = new ArrayList<>();
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          dummy += ImmutableList.copyOf(builder).size();
        }
        return dummy;
      }
    
      @Benchmark
      int copyPreSizedArrayList(int reps) {
        int size = this.size;
        int tmp = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top