Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 186 for Reflection (0.21 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          } catch (Exception // sneaky checked exception
              | Error atomicReferenceFieldUpdaterFailure) {
            // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
            // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
            // For these users fallback to a suboptimal implementation, based on synchronized. This will
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  2. guava/src/com/google/common/util/concurrent/AbstractFuture.java

          } catch (Exception // sneaky checked exception
              | Error atomicReferenceFieldUpdaterFailure) {
            // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
            // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
            // For these users fallback to a suboptimal implementation, based on synchronized. This will
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  3. src/encoding/binary/binary_test.go

    			err := dec.fn(BigEndian, slice, []byte{0, 1, 2, 255})
    			checkResult(t, dec.name, BigEndian, err, slice, []bool{false, true, true, true})
    		})
    	}
    }
    
    // Addresses of arrays are easier to manipulate with reflection than are slices.
    var intArrays = []any{
    	&[100]int8{},
    	&[100]int16{},
    	&[100]int32{},
    	&[100]int64{},
    	&[100]uint8{},
    	&[100]uint16{},
    	&[100]uint32{},
    	&[100]uint64{},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. pkg/api/pod/util_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestPodSecrets(t *testing.T) {
    	// Stub containing all possible secret references in a pod.
    	// The names of the referenced secrets match struct paths detected by reflection.
    	pod := &api.Pod{
    		Spec: api.PodSpec{
    			Containers: []api.Container{{
    				EnvFrom: []api.EnvFromSource{{
    					SecretRef: &api.SecretEnvSource{
    						LocalObjectReference: api.LocalObjectReference{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. src/encoding/json/decode.go

    			v.SetFloat(n)
    		}
    	}
    	return nil
    }
    
    // The xxxInterface routines build up a value to be stored
    // in an empty interface. They are not strictly necessary,
    // but they avoid the weight of reflection in this common case.
    
    // valueInterface is like value but returns interface{}
    func (d *decodeState) valueInterface() (val any) {
    	switch d.opcode {
    	default:
    		panic(phasePanicMsg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  6. ChangeLog.md

    ### Reflection
    
    - [`KT-65156`](https://youtrack.jetbrains.com/issue/KT-65156) Calls to `callBy` that use default arguments fail with `KotlineReflectionInternalError` when the argument size is a multiple of 32 in a constructor that contains `value class` as a parameter
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
  7. pilot/pkg/model/service.go

    	return true
    }
    
    func copyInternal(v any) any {
    	copied, err := copystructure.Copy(v)
    	if err != nil {
    		// There are 2 locations where errors are generated in copystructure.Copy:
    		//  * The reflection walk over the structure fails, which should never happen
    		//  * A configurable copy function returns an error. This is only used for copying times, which never returns an error.
    		// Therefore, this should never happen
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      /**
       * Test that the function is invoked only once, even if it throws an exception. Also, test that
       * that function's result is wrapped in an ExecutionException.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testTransformExceptionRemainsMemoized() throws Throwable {
        // We need to test with two input futures since ExecutionList.execute
        // doesn't catch Errors and we cannot depend on the order that our
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      /**
       * Test that the function is invoked only once, even if it throws an exception. Also, test that
       * that function's result is wrapped in an ExecutionException.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testTransformExceptionRemainsMemoized() throws Throwable {
        // We need to test with two input futures since ExecutionList.execute
        // doesn't catch Errors and we cannot depend on the order that our
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  10. src/reflect/value.go

    package reflect
    
    import (
    	"errors"
    	"internal/abi"
    	"internal/goarch"
    	"internal/itoa"
    	"internal/unsafeheader"
    	"math"
    	"runtime"
    	"unsafe"
    )
    
    // Value is the reflection interface to a Go value.
    //
    // Not all methods apply to all kinds of values. Restrictions,
    // if any, are noted in the documentation for each method.
    // Use the Kind method to find out the kind of value before
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top