Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Mincore (0.12 sec)

  1. src/runtime/export_linux_test.go

    // license that can be found in the LICENSE file.
    
    // Export guts for testing.
    
    package runtime
    
    const SiginfoMaxSize = _si_max_size
    const SigeventMaxSize = _sigev_max_size
    
    var NewOSProc0 = newosproc0
    var Mincore = mincore
    
    type Siginfo siginfo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:20:01 UTC 2023
    - 378 bytes
    - Viewed (0)
  2. src/runtime/runtime_linux_test.go

    	}
    }
    
    // Test that error values are negative.
    // Use a misaligned pointer to get -EINVAL.
    func TestMincoreErrorSign(t *testing.T) {
    	var dst byte
    	v := Mincore(unsafe.Add(unsafe.Pointer(new(int32)), 1), 1, &dst)
    
    	const EINVAL = 0x16
    	if v != -EINVAL {
    		t.Errorf("mincore = %v, want %v", v, -EINVAL)
    	}
    }
    
    func TestKernelStructSize(t *testing.T) {
    	// Check that the Go definitions of structures exchanged with the kernel are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:20:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        return parentFile.isDescendentOf(directory)
      }
    
      /**
       * See FinalizationTester for discussion on how to best trigger GC in tests.
       * https://android.googlesource.com/platform/libcore/+/master/support/src/test/java/libcore/
       * java/lang/ref/FinalizationTester.java
       */
      @Throws(Exception::class)
      @JvmStatic
      fun awaitGarbageCollection() {
        Runtime.getRuntime().gc()
        Thread.sleep(100)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. docs/fr/docs/advanced/response-directly.md

    ## Renvoyer une `Response` personnalisée
    
    L'exemple ci-dessus montre toutes les parties dont vous avez besoin, mais il n'est pas encore très utile, car vous auriez pu retourner l'`item` directement, et **FastAPI** l'aurait mis dans une `JSONResponse` pour vous, en le convertissant en `dict`, etc. Tout cela par défaut.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. docs/fr/docs/history-design-future.md

    De nombreux développeurs et équipes dépendent déjà de **FastAPI** pour leurs projets (y compris moi et mon équipe).
    
    Mais il y a encore de nombreuses améliorations et fonctionnalités à venir.
    
    **FastAPI** a un grand avenir devant lui.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top