Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Field (0.07 sec)

  1. statement.go

    				case reflect.Struct:
    					for _, field := range s.Fields {
    						selected := selectedColumns[field.DBName] || selectedColumns[field.Name]
    						if selected || (!restricted && field.Readable) {
    							if v, isZero := field.ValueOf(stmt.Context, reflectValue); !isZero || selected {
    								if field.DBName != "" {
    									conds = append(conds, clause.Eq{Column: clause.Column{Table: curTable, Name: field.DBName}, Value: v})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/archive/tar/strconv.go

    	if len(s) > len(b) {
    		f.err = ErrFieldTooLong
    	}
    	copy(b, s)
    	if len(s) < len(b) {
    		b[len(s)] = 0
    	}
    
    	// Some buggy readers treat regular files with a trailing slash
    	// in the V7 path field as a directory even though the full path
    	// recorded elsewhere (e.g., via PAX record) contains no trailing slash.
    	if len(s) > len(b) && b[len(b)-1] == '/' {
    		n := len(strings.TrimRight(s[:len(b)-1], "/"))
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

        }
    
        /**
         * Test protected field access
         */
        public void test_protectedFieldAccess() {
            TestTransformer transformer = new TestTransformer();
    
            // Direct field access (simulating subclass behavior)
            transformer.name = "directFieldAccess";
            assertEquals("directFieldAccess", transformer.getName());
    
            // Setter should update the field
            transformer.setName("setterAccess");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            assertEquals("test", testRule.getRuleId());
        }
    
        /**
         * Test protected field access
         */
        public void test_protectedFieldAccess() {
            // Test direct field access (protected fields)
            TestAbstractRule rule = new TestAbstractRule();
    
            // Direct field assignment
            rule.ruleId = "directFieldAccess";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. generics.go

    			if !ok {
    				if preloadFields := strings.Split(association, "."); len(preloadFields) > 1 {
    					relationships := &db.Statement.Schema.Relationships
    					for _, field := range preloadFields {
    						var ok bool
    						relation, ok = relationships.Relations[field]
    						if ok {
    							relationships = &relation.FieldSchema.Relationships
    						} else {
    							db.AddError(fmt.Errorf("relation %s not found", association))
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    				start = -1
    			}
    		} else {
    			if start < 0 {
    				start = i
    			}
    		}
    		i += size
    	}
    
    	// Last field might end at EOF.
    	if start >= 0 {
    		spans = append(spans, span{start, len(s)})
    	}
    
    	// Create subslices from recorded field indices.
    	a := make([][]byte, len(spans))
    	for i, span := range spans {
    		a[i] = s[span.start:span.end:span.end]
    	}
    
    	return a
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            for (int i = 0; i < 500; i++) {
                crawlerContext.decrementAndGetAccessCount();
            }
            assertEquals(501L, crawlerContext.getAccessCount());
        }
    
        /**
         * Test volatile status field behavior
         */
        public void test_statusVolatile() throws Exception {
            final CountDownLatch statusSetLatch = new CountDownLatch(1);
            final CountDownLatch statusReadLatch = new CountDownLatch(1);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    Using resources from dependencies with `yield` in background tasks is no longer supported.
    
    This change is what supports the new features, read below. 🤓
    
    ### Dependencies with `yield`, `HTTPException` and Background Tasks
    
    Dependencies with `yield` now can raise `HTTPException` and other exceptions after `yield`. 🎉
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    			})
    		})
    		// Get the modtime of the shaDir.
    		vi, err := disk.StatVol(ctx, pathJoin(minioMetaMultipartBucket, shaDir))
    		if err != nil {
    			return nil
    		}
    		// Modtime is returned in the Created field. See (*xlStorage).StatVol
    		if time.Since(vi.Created) < globalAPIConfig.getStaleUploadsExpiry() {
    			return nil
    		}
    		w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    		return w.Run(func() error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  10. src/bytes/iter.go

    func splitSeq(s, sep []byte, sepSave int) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		if len(sep) == 0 {
    			for len(s) > 0 {
    				_, size := utf8.DecodeRune(s)
    				if !yield(s[:size:size]) {
    					return
    				}
    				s = s[size:]
    			}
    			return
    		}
    		for {
    			i := Index(s, sep)
    			if i < 0 {
    				break
    			}
    			frag := s[:i+sepSave]
    			if !yield(frag[:len(frag):len(frag)]) {
    				return
    			}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top