Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2851 - 2860 of 3,243 for inst (0.29 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/hooks_test.go

    	Name  string
    	Code  string
    	Price int64
    	Owner string
    	Item  ProductItem
    }
    
    type ProductItem struct {
    	gorm.Model
    	Code               string
    	Product4ID         uint
    	AfterFindCallTimes int
    }
    
    func (pi ProductItem) BeforeCreate(*gorm.DB) error {
    	if pi.Code == "invalid" {
    		return errors.New("invalid item")
    	}
    	return nil
    }
    
    func (pi *ProductItem) AfterFind(*gorm.DB) error {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jun 17 03:59:06 GMT 2024
    - 16.7K bytes
    - Click Count (0)
  2. docs/bigdata/README.md

    ### **4.2 WordCount**
    
    WordCount is a simple program that counts how often a word occurs in a text file. The code builds a dataset of (String, Int) pairs called counts, and saves the dataset to a file.
    
    The following example submits WordCount code to the Scala shell. Select an input file for the Spark WordCount example. We can use any text file as input.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

         */
        public List<CharMappingItem> getCharMappingList(final String dictId, final CharMappingPager charMappingPager) {
            return getCharMappingFile(dictId).map(file -> {
                final int pageSize = charMappingPager.getPageSize();
                final PagingList<CharMappingItem> charMappingList =
                        file.selectList((charMappingPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/JobLogService.java

         * Used for cleaning up old log entries.
         *
         * @param days the number of days to look back from the current time
         */
        public void deleteBefore(final int days) {
            final long oneday = 24 * 60 * 60 * 1000L;
            final long targetTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - days * oneday;
            jobLogBhv.queryDelete(cb -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        }
    
        @Override
        public void writeTo(final StreamOutput out) throws IOException {
            queryBuilder.writeTo(out);
        }
    
        @Override
        public int hashCode() {
            return queryBuilder.hashCode();
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        extends AbstractTableReadTest<C> {
    
      protected void populate(Table<String, Integer, C> table, @Nullable Object... data) {
        checkArgument(data.length % 3 == 0);
        for (int i = 0; i < data.length; i += 3) {
          table.put(
              (String) data[i], (Integer) data[i + 1], nullableCellValue((Character) data[i + 2]));
        }
      }
    
      protected boolean supportsRemove() {
        return true;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/MoreCollectors.java

      @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
      private static final class ToOptionalState<T extends @Nullable Object> {
        static final int MAX_EXTRAS = 4;
    
        @Nullable T element;
        List<T> extras;
        final @Nullable Supplier<? extends RuntimeException> exceptionSupplier;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

         * @param scope cache scope
         * @return lease key or null if not supported
         * @throws SmbException if an error occurs
         */
        public static Smb2LeaseKey requestDirectoryLease(SmbFile smbFile, int requestedState, DirectoryCacheScope scope) throws SmbException {
            if (!smbFile.isDirectory()) {
                throw new SmbException("Directory leasing only supported for directories");
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

                            && Objects.equals(type, that.type)
                            && Objects.equals(coordinatesString, that.coordinatesString);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(groupId, artifactId, version, classifier, extension, type, coordinatesString);
                }
    
                @Override
                public String toString() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. cmd/data-usage-utils.go

    	for tier, stats := range ts {
    		infos = append(infos, madmin.TierInfo{
    			Name:  tier,
    			Type:  globalTierConfigMgr.TierType(tier),
    			Stats: stats,
    		})
    	}
    
    	sort.Slice(infos, func(i, j int) bool {
    		if infos[i].Type == "internal" {
    			return true
    		}
    		if infos[j].Type == "internal" {
    			return false
    		}
    		return infos[i].Name < infos[j].Name
    	})
    	return infos
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Click Count (0)
Back to Top