Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Pointer (0.16 sec)

  1. src/cmd/cgo/gcc.go

    // rewritten to use _cgo_unsafe.Pointer instead.
    func (p *Package) rewriteUnsafe(t ast.Expr) ast.Expr {
    	switch t := t.(type) {
    	case *ast.Ident:
    		// We don't see a SelectorExpr for unsafe.Pointer;
    		// this is created by code in this file.
    		if t.Name == "unsafe.Pointer" {
    			return ast.NewIdent("_cgo_unsafe.Pointer")
    		}
    	case *ast.ArrayType:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // Retrieves the full name of the device (e.g. /job:worker/replica:0/...)
    // The return value will be a pointer to a null terminated string. The caller
    // must not modify or delete the string. It will be deallocated upon a call to
    // TF_DeleteDeviceList.
    //
    // If index is out of bounds, an error code will be set in the status object,
    // and a null pointer will be returned.
    TF_CAPI_EXPORT extern const char* TF_DeviceListName(const TF_DeviceList* list,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  3. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteExecutor(executor);
      TFE_DeleteContext(ctx);
    }
    
    void ExecuteAdd(bool async, bool forward_input, bool tfrt) {
    #ifdef PLATFORM_WINDOWS
      // On windows, we flakily get a failure due to pointer instability.
      // Disable the 4 tests using this helper until we fix the issue.
      return;
    #else
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  4. cmd/test-utils_test.go

    		}
    		if idx := int(cache & letterIdxMask); idx < len(letterBytes) {
    			b[i] = letterBytes[idx]
    			i--
    		}
    		cache >>= letterIdxBits
    		remain--
    	}
    
    	return *(*string)(unsafe.Pointer(&b))
    }
    
    // generate random object name.
    func getRandomObjectName() string {
    	return randString(16)
    }
    
    // generate random bucket name.
    func getRandomBucketName() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    // unless all have that, in which case all are preserved.
    func (p serverPoolsAvailableSpace) FilterMaxUsed(max int) {
    	// We aren't modifying p, only entries in it, so we don't need to receive a pointer.
    	if len(p) <= 1 {
    		// Nothing to do.
    		return
    	}
    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			ok = true
    			break
    		}
    	}
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      private static class Counter<N extends Number> {
        @SuppressWarnings("unused") // used by reflection
        List<N> counts;
      }
    
      public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound()
          throws Exception {
        TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {};
        TypeToken<?> fieldType =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      private static class Counter<N extends Number> {
        @SuppressWarnings("unused") // used by reflection
        List<N> counts;
      }
    
      public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound()
          throws Exception {
        TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {};
        TypeToken<?> fieldType =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            private final DirContext context;
    
            private int counter = 1;
    
            protected DirContextHolder(final DirContext context) {
                this.context = context;
            }
    
            public DirContext get() {
                return context;
            }
    
            public void inc() {
                counter++;
            }
    
            @Override
            public void close() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilder.java

       */
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> recordStats() {
        statsCounterSupplier = CACHE_STATS_COUNTER;
        return this;
      }
    
      boolean isRecordingStats() {
        return statsCounterSupplier == CACHE_STATS_COUNTER;
      }
    
      Supplier<? extends StatsCounter> getStatsCounterSupplier() {
        return statsCounterSupplier;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

    import org.jetbrains.kotlin.analysis.low.level.api.fir.resolver.AllCandidatesResolver
    import org.jetbrains.kotlin.analysis.low.level.api.fir.util.ContextCollector
    import org.jetbrains.kotlin.analysis.utils.printer.parentOfType
    import org.jetbrains.kotlin.analysis.utils.printer.parentsOfType
    import org.jetbrains.kotlin.fir.*
    import org.jetbrains.kotlin.fir.declarations.*
    import org.jetbrains.kotlin.fir.declarations.builder.buildImport
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
Back to top