Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,392 for case1 (0.05 sec)

  1. cmd/sftp-server-driver.go

    	_ = w.w.CloseWithError(err)
    	_ = w.r.CloseWithError(err)
    	w.err = err
    }
    
    func (w *writerAt) Close() (err error) {
    	switch {
    	case len(w.buffer) > 0:
    		err = errors.New("some file segments were not flushed from the queue")
    		_ = w.w.CloseWithError(err)
    	case w.err != nil:
    		// No need to close here since both pipes were
    		// closing inside TransferError()
    		err = w.err
    	default:
    		err = w.w.Close()
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

                if (queryBuilder != null) {
                    switch (clause.getOccur()) {
                    case MUST:
                        boolQuery.must(queryBuilder);
                        break;
                    case SHOULD:
                        boolQuery.should(queryBuilder);
                        break;
                    case MUST_NOT:
                        boolQuery.mustNot(queryBuilder);
                        break;
                    default:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. internal/bucket/encryption/bucket-sse-config.go

    func (alg *Algorithm) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	var s string
    	if err := d.DecodeElement(&s, &start); err != nil {
    		return err
    	}
    
    	switch s {
    	case string(AES256):
    		*alg = AES256
    	case string(AWSKms):
    		*alg = AWSKms
    	default:
    		return errors.New("Unknown SSE algorithm")
    	}
    
    	return nil
    }
    
    // MarshalXML - Marshals given SSE algorithm to valid XML
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                    }
                    return switch (configType) {
                    case WEB -> {
                        final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class);
                        yield webConfigService.getWebConfig(id).get();
                    }
                    case FILE -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. cmd/erasure-heal_test.go

    }
    
    func TestErasureHeal(t *testing.T) {
    	for i, test := range erasureHealTests {
    		if test.offDisks < test.badStaleDisks {
    			// test case sanity check
    			t.Fatalf("Test %d: Bad test case - number of stale drives cannot be less than number of badstale drives", i)
    		}
    
    		// create some test data
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. callbacks/update.go

    	)
    
    	switch stmt.ReflectValue.Kind() {
    	case reflect.Slice, reflect.Array:
    		assignValue = func(field *schema.Field, value interface{}) {
    			for i := 0; i < stmt.ReflectValue.Len(); i++ {
    				if stmt.ReflectValue.CanAddr() {
    					field.Set(stmt.Context, stmt.ReflectValue.Index(i), value)
    				}
    			}
    		}
    	case reflect.Struct:
    		assignValue = func(field *schema.Field, value interface{}) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. scan.go

    		for i, column := range columns {
    			v, ok := db.Statement.ColumnMapping[column]
    			if ok {
    				columns[i] = v
    			}
    		}
    	}
    
    	db.RowsAffected = 0
    
    	switch dest := db.Statement.Dest.(type) {
    	case map[string]interface{}, *map[string]interface{}:
    		if initialized || rows.Next() {
    			columnTypes, _ := rows.ColumnTypes()
    			prepareValues(values, db, columnTypes, columns)
    
    			db.RowsAffected++
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. callbacks/associations.go

    						}
    					}
    				}
    
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Slice, reflect.Array:
    					for i := 0; i < db.Statement.ReflectValue.Len(); i++ {
    						obj := db.Statement.ReflectValue.Index(i)
    						if reflect.Indirect(obj).Kind() == reflect.Struct {
    							appendToElems(obj)
    						}
    					}
    				case reflect.Struct:
    					appendToElems(db.Statement.ReflectValue)
    				}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/TypeResolver.java

             * work with all JDK versions, TypeResolver must return the appropriate TypeVariable
             * implementation in each of the three possible cases:
             *
             * 1. Prior to JDK 7u51, the JDK TypeVariable implementation interoperates with ours.
             * Therefore, we can always create our own TypeVariable.
             *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  10. internal/s3select/message.go

    							break
    						}
    					}
    				}
    
    				bufPool.Put(payload)
    			}
    
    		case <-recordStagingTicker.C:
    			if !writer.flushRecords() {
    				quitFlag = true
    			}
    
    		case <-keepAliveTicker.C:
    			if !writer.write(continuationMessage) {
    				quitFlag = true
    			}
    
    		case <-progressTickerC:
    			bytesScanned, bytesProcessed := writer.getProgressFunc()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
Back to top