Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for same (0.14 sec)

  1. doc/go1.17_spec.html

    <pre>
    [...]Point{{1.5, -3.5}, {0, 0}}     // same as [...]Point{Point{1.5, -3.5}, Point{0, 0}}
    [][]int{{1, 2, 3}, {4, 5}}          // same as [][]int{[]int{1, 2, 3}, []int{4, 5}}
    [][]Point{{{0, 1}, {1, 2}}}         // same as [][]Point{[]Point{Point{0, 1}, Point{1, 2}}}
    map[string]Point{"orig": {0, 0}}    // same as map[string]Point{"orig": Point{0, 0}}
    map[Point]string{{0, 0}: "orig"}    // same as map[Point]string{Point{0, 0}: "orig"}
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. fastapi/routing.py

            endpoint: Callable[..., Any],
            *,
            name: Optional[str] = None,
            dependencies: Optional[Sequence[params.Depends]] = None,
            dependency_overrides_provider: Optional[Any] = None,
        ) -> None:
            self.path = path
            self.endpoint = endpoint
            self.name = get_name(endpoint) if name is None else name
            self.dependencies = list(dependencies or [])
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  3. fastapi/applications.py

                def __init__(self, name: str):
                    self.name = name
    
    
            app = FastAPI()
    
    
            @app.exception_handler(UnicornException)
            async def unicorn_exception_handler(request: Request, exc: UnicornException):
                return JSONResponse(
                    status_code=418,
                    content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."},
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    	// used for storing the uploadID's parsed on concurrent HTTP requests for NewMultipart upload on the same object.
    	testUploads := struct {
    		sync.Mutex
    		uploads []string
    	}{}
    
    	objectName := "test-object-new-multipart-parallel"
    	var wg sync.WaitGroup
    	for i := 0; i < 10; i++ {
    		wg.Add(1)
    		// Initiate NewMultipart upload on the same object 10 times concurrrently.
    		go func() {
    			defer wg.Done()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    		sc = storageclass.STANDARD
    	}
    
    	putObjectTar := func(reader io.Reader, info os.FileInfo, object string) error {
    		size := info.Size()
    
    		metadata := map[string]string{
    			xhttp.AmzStorageClass: sc, // save same storage-class as incoming stream.
    		}
    
    		actualSize := size
    		var idxCb func() []byte
    		if isCompressible(r.Header, object) && size > minCompressibleSize {
    			// Storing the compression metadata.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

           * bugs are themselves just symptoms of the same underlying problem):
           *
           * https://github.com/typetools/checker-framework/issues/3030
           *
           * https://github.com/typetools/checker-framework/issues/3236
           */
          String key = (String) requireNonNull(e.nextElement());
          /*
           * requireNonNull is safe because the key came from propertyNames...
           *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        entry.setValueReference(oldValueRef);
    
        // no entry
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
    
        // same value
        table.set(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertTrue(segment.replace(key, hash, oldValue, newValue));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        entry.setValueReference(oldValueRef);
    
        // no entry
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
    
        // same value
        table.set(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertTrue(segment.replace(key, hash, oldValue, newValue));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <h3>Cancelling</h3>
     *
     * Any step in a pipeline can be {@linkplain #cancel(boolean) cancelled}, even after another step
     * has been derived, with the same semantics as cancelling a {@link Future}. In addition, a
     * successfully cancelled step will immediately start closing all objects captured for later closing
     * by it and by its input steps.
     *
     * <h3>Ending a pipeline</h3>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

            <field xdoc.separator="blank">
              <name>name</name>
              <version>3.0.0+</version>
              <required>true</required>
              <description>The full name of the project.</description>
              <type>String</type>
            </field>
            <field>
              <name>description</name>
              <version>3.0.0+</version>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
Back to top