Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1041 - 1050 of 1,152 for Ensure (0.06 seconds)

  1. finisher_api.go

    			}
    			defer func() {
    				// Make sure to rollback when panic, Block error or Commit error
    				if panicked || err != nil {
    					db.RollbackTo(fmt.Sprintf("sp%d", spID))
    				}
    			}()
    		}
    		err = fc(db.Session(&Session{NewDB: db.clone == 1}))
    	} else {
    		tx := db.Begin(opts...)
    		if tx.Error != nil {
    			return tx.Error
    		}
    
    		defer func() {
    			// Make sure to rollback when panic, Block error or Commit error
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  2. src/cmd/cgo/doc.go

    	// freed, such as by calling C.free (be sure to include stdlib.h
    	// if C.free is needed).
    	func C.CString(string) *C.char
    
    	// Go []byte slice to C array
    	// The C array is allocated in the C heap using malloc.
    	// It is the caller's responsibility to arrange for it to be
    	// freed, such as by calling C.free (be sure to include stdlib.h
    	// if C.free is needed).
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 08 22:37:14 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        byte[] array = {(byte) 0, (byte) 1, (byte) 2};
        List<Byte> list = Bytes.asList(array);
        byte[] newArray = Bytes.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (byte) 4);
        assertThat(newArray).isEqualTo(new byte[] {(byte) 0, (byte) 1, (byte) 2});
        newArray[1] = (byte) 5;
        assertThat((byte) list.get(1)).isEqualTo((byte) 1);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

                return holder.string;
              }
            };
    
        // Add the mutable cell to the builder
        builder.put(mutableCell);
    
        // Mutate the value
        holder.string = "bar";
    
        // Make sure it uses the original value.
        assertEquals(ImmutableTable.of('K', 42, "foo"), builder.buildOrThrow());
      }
    
      public void testBuilder_noDuplicates() {
        ImmutableTable.Builder<Character, Integer, String> builder =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  5. src/archive/zip/writer_test.go

    		{Name: "file.go", Data: []byte("hello"), Mode: 0644},
    		{Name: "subfolder/another.go", Data: []byte("world"), Mode: 0644},
    		// Notably missing here is the "subfolder" directory. This makes sure even
    		// if we don't have a subfolder directory listed.
    	}
    	err := w.AddFS(writeTestsToFS(tests))
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/bigger-applications.md

    ```console
    $ fastapi dev app/main.py
    ```
    
    Mais vous devriez vous rappeler de passer le bon chemin à chaque fois que vous appelez la commande `fastapi`.
    
    En outre, d'autres outils pourraient ne pas être en mesure de la trouver, par exemple l'[Extension VS Code](../editor-support.md) ou [FastAPI Cloud](https://fastapicloud.com), il est donc recommandé d'utiliser l'`entrypoint` dans `pyproject.toml`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  7. fastapi/applications.py

                    Custom operation ID to be used by this *path operation*.
    
                    By default, it is generated automatically.
    
                    If you provide a custom operation ID, you need to make sure it is
                    unique for the whole API.
    
                    You can customize the
                    operation ID generation with the parameter
                    `generate_unique_id_function` in the `FastAPI` class.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        byte[] array = {(byte) 0, (byte) 1, (byte) 2};
        List<Byte> list = Bytes.asList(array);
        byte[] newArray = Bytes.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (byte) 4);
        assertThat(newArray).isEqualTo(new byte[] {(byte) 0, (byte) 1, (byte) 2});
        newArray[1] = (byte) 5;
        assertThat((byte) list.get(1)).isEqualTo((byte) 1);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  9. internal/s3select/message.go

    	// It has a buffer size of 128K:
    	// https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/eventstreaming/MessageDecoder.java#L26
    	// but we must make sure there is always space to add 256 bytes:
    	// https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/SelectObjectContentEventStream.java#L197
    	maxRecordMessageLength = (128 << 10) - 256
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

            .isEqualTo(new FreshValueGenerator().generateFresh(String.class));
      }
    
      public void testFreshCurrency() {
        FreshValueGenerator generator = new FreshValueGenerator();
        // repeat a few times to make sure we don't stumble upon a bad Locale
        assertThat(generator.generateFresh(Currency.class)).isNotNull();
        assertThat(generator.generateFresh(Currency.class)).isNotNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 18.6K bytes
    - Click Count (0)
Back to Top