Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for safety (0.17 sec)

  1. doc/go1.17_spec.html

    provides facilities for low-level programming including operations
    that violate the type system. A package using <code>unsafe</code>
    must be vetted manually for type safety and may not be portable.
    The package provides the following interface:
    </p>
    
    <pre class="grammar">
    package unsafe
    
    type ArbitraryType int  // shorthand for an arbitrary Go type; it is not a real type
    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. android/guava/src/com/google/common/collect/Maps.java

          return fromMap.containsKey(key);
        }
    
        // safe as long as the user followed the <b>Warning</b> in the javadoc
        @SuppressWarnings("unchecked")
        @Override
        @CheckForNull
        public V2 get(@CheckForNull Object key) {
          V1 value = fromMap.get(key);
          if (value != null || fromMap.containsKey(key)) {
            // The cast is safe because of the containsKey check.
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirErrors.UNNECESSARY_SAFE_CALL) { firDiagnostic ->
            UnnecessarySafeCallImpl(
                firSymbolBuilder.typeBuilder.buildKtType(firDiagnostic.a),
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.SAFE_CALL_WILL_CHANGE_NULLABILITY) { firDiagnostic ->
            SafeCallWillChangeNullabilityImpl(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          return getDone(future);
        }
      }
    
      private static class MyException extends Exception {}
    
      // Class hierarchy for generics sanity checks
      private static class Foo {}
    
      private static class FooChild extends Foo {}
    
      private static class Bar {}
    
      private static class BarChild extends Bar {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

        Node* node = graph->graph.FindNodeId(*pos);
        // FindNodeId() returns nullptr for nodes that have been deleted.
        // We aren't currently allowing nodes to be deleted, but it is safer
        // to still check.
        if (node != nullptr) return ToOperation(node);
        *pos += 1;
      }
    
      // No more nodes.
      return nullptr;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          return getDone(future);
        }
      }
    
      private static class MyException extends Exception {}
    
      // Class hierarchy for generics sanity checks
      private static class Foo {}
    
      private static class FooChild extends Foo {}
    
      private static class Bar {}
    
      private static class BarChild extends Bar {}
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <p>Note that if you don't call {@code closeAsync()}, the captured objects will not be closed. The
     * automatic-closing approach described above is safer.
     *
     * @param <V> the type of the value of this step
     * @since 30.0
     */
    // TODO(dpb): Consider reusing one CloseableList for the entire pipeline, modulo combinations.
    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)
  8. cmd/object-handlers_test.go

    	}
    	// execute the object layer set to `nil` test.
    	// `ExecObjectLayerAPINilTest` manages the operation.
    	ExecObjectLayerAPINilTest(t, nilBucket, nilObject, instanceType, apiRouter, nilReq)
    }
    
    // Tests sanity of attempting to copying each parts at offsets from an existing
    // file and create a new object. Also validates if the written is same as what we
    // expected.
    func TestAPICopyObjectPartHandlerSanity(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

        checkNotNull(loader);
        checkNotNull(keys);
        Stopwatch stopwatch = Stopwatch.createStarted();
        Map<K, V> result;
        boolean success = false;
        try {
          @SuppressWarnings("unchecked") // safe since all keys extend K
          Map<K, V> map = (Map<K, V>) loader.loadAll(keys);
          result = map;
          success = true;
        } catch (UnsupportedLoadingOperationException e) {
          success = true;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LocalCache.java

        checkNotNull(loader);
        checkNotNull(keys);
        Stopwatch stopwatch = Stopwatch.createStarted();
        Map<K, V> result;
        boolean success = false;
        try {
          @SuppressWarnings("unchecked") // safe since all keys extend K
          Map<K, V> map = (Map<K, V>) loader.loadAll(keys);
          result = map;
          success = true;
        } catch (UnsupportedLoadingOperationException e) {
          success = true;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top