Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for tears (0.14 sec)

  1. docs/en/docs/history-design-future.md

    Here's a little bit of that history.
    
    ## Alternatives
    
    I have been creating APIs with complex requirements for several years (Machine Learning, distributed systems, asynchronous jobs, NoSQL databases, etc), leading several teams of developers.
    
    As part of that, I needed to investigate, test and use many alternatives.
    
    The history of **FastAPI** is in great part the history of its predecessors.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock.go

    		}
    	} else if *retention.Years == 0 {
    		return fmt.Errorf("Default retention period must be a positive integer value for 'Years'")
    	} else if *retention.Years > maximumRetentionYears {
    		return fmt.Errorf("Default retention period too large for 'Years' %d", *retention.Years)
    	}
    
    	*dr = DefaultRetention(retention)
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/IoTestCase.java

          }
          copy(resourceUrl, file);
        }
    
        return file;
      }
    
      /**
       * Creates a new temp dir for testing. The returned directory and all contents of it will be
       * deleted in the tear-down for this test.
       */
      protected final File createTempDir() throws IOException {
        File tempFile = File.createTempFile("IoTestCase", "");
        if (!tempFile.delete() || !tempFile.mkdir()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. internal/store/queuestore_test.go

    		return nil, oErr
    	}
    	return queueStore, nil
    }
    
    // Tear down queue store.
    func tearDownQueueStore() error {
    	return os.RemoveAll(queueDir)
    }
    
    // TestQueueStorePut - tests for store.Put
    func TestQueueStorePut(t *testing.T) {
    	defer func() {
    		if err := tearDownQueueStore(); err != nil {
    			t.Fatal("Failed to tear down store ", err)
    		}
    	}()
    	store, err := setUpQueueStore(queueDir, 100)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 04 17:52:24 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. internal/s3select/sql/timestampfuncs.go

    		return nil, errNotImplemented
    	}
    	return FromTimestamp(t.Add(duration)), nil
    }
    
    // dateDiff computes the difference between two times in terms of the
    // `timePart` which can be years, months, days, hours, minutes or
    // seconds. For difference in years, months or days, the time part,
    // including timezone is ignored.
    func dateDiff(timePart string, ts1, ts2 time.Time) (*Value, error) {
    	if ts2.Before(ts1) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  6. internal/bucket/object/lock/lock_test.go

    			value:       DefaultRetention{Mode: RetGovernance},
    			expectedErr: fmt.Errorf("either Days or Years must be specified"),
    			expectErr:   true,
    		},
    		{
    			value:       DefaultRetention{Mode: RetGovernance, Days: &days},
    			expectedErr: nil,
    			expectErr:   false,
    		},
    		{
    			value:       DefaultRetention{Mode: RetGovernance, Years: &years},
    			expectedErr: nil,
    			expectErr:   false,
    		},
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. tests/associations_has_many_test.go

    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	// Count
    	AssertAssociationCount(t, users, "Team", 6, "")
    
    	// Find
    	var teams []User
    	if DB.Model(&users).Association("Team").Find(&teams); len(teams) != 6 {
    		t.Errorf("teams count should be %v, but got %v", 6, len(teams))
    	}
    
    	// Append
    	DB.Model(&users).Association("Team").Append(
    		&User{Name: "pet-slice-append-1"},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 15.6K bytes
    - Viewed (0)
  8. architecture-standards/0001-use-architectural-decision-records.md

    * To explain *rejected solutions*, for now and future development, in case they are proposed again.
    
    ADRs can be written by any team.
    Like code, they should be reviewed by any other relevant teams.
    The goal is not to *own* a decision, but to *share* it with other teams, and improve the build tool together.
    
    ### Format
    
    The format for ADR should follow this template:
    
    ```markdown
    # ADR-000X - Title
    
    ## Date
    
    20YY-MM-DD
    
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Wed Feb 07 00:43:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. architecture/standards/0001-use-architectural-decision-records.md

    * To explain *rejected solutions*, for now, and future development, in case they are proposed again.
    
    ADRs can be written by any team.
    Like code, they should be reviewed by any other relevant teams.
    The goal is not to *own* a decision, but to *share* it with other teams, and improve the build tool together.
    
    ### Format
    
    The format for ADR should follow this template:
    
    ```markdown
    # ADR-000X - Title
    
    ## Date
    
    20YY-MM-DD
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Mar 02 21:54:40 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. tests/associations_many2many_test.go

    	}
    
    	DB.Create(&users)
    
    	// Count
    	AssertAssociationCount(t, users, "Team", 6, "")
    
    	// Find
    	var teams []User
    	if DB.Model(&users).Association("Team").Find(&teams); len(teams) != 6 {
    		t.Errorf("teams count should be %v, but got %v", 6, len(teams))
    	}
    
    	// Append
    	teams1 := []User{*GetUser("friend-append-1", Config{})}
    	teams2 := []User{}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 13.2K bytes
    - Viewed (0)
Back to top