Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for bug5 (0.04 sec)

  1. src/encoding/json/encode_test.go

    	}
    }
    
    type BugD struct { // Same as BugA after tagging.
    	XXX string `json:"S"`
    }
    
    // BugD's tagged S field should dominate BugA's.
    type BugY struct {
    	BugA
    	BugD
    }
    
    // Test that a field with a tag dominates untagged fields.
    func TestTaggedFieldDominates(t *testing.T) {
    	v := BugY{
    		BugA{"BugA"},
    		BugD{"BugD"},
    	}
    	b, err := Marshal(v)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  2. src/encoding/gob/encoder_test.go

    }
    
    // Mutually recursive slices of structs caused problems.
    type Bug3 struct {
    	Num      int
    	Children []*Bug3
    }
    
    func TestGobPtrSlices(t *testing.T) {
    	in := []*Bug3{
    		{1, nil},
    		{2, nil},
    	}
    	b := new(bytes.Buffer)
    	err := NewEncoder(b).Encode(&in)
    	if err != nil {
    		t.Fatal("encode:", err)
    	}
    
    	var out []*Bug3
    	err = NewDecoder(b).Decode(&out)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

       * element returned.
       *
       * <p>See <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6529795">Sun bug 6529795</a>
       */
      static class IteratorWithSunJavaBug6529795<T> implements Iterator<T> {
        Iterator<T> iterator;
        boolean nextThrewException;
    
        IteratorWithSunJavaBug6529795(Iterator<T> iterator) {
          this.iterator = iterator;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/sync/atomic/doc.go

    // SwapInt64 atomically stores new into *addr and returns the previous *addr value.
    // Consider using the more ergonomic and less error-prone [Int64.Swap] instead
    // (particularly if you target 32-bit platforms; see the bugs section).
    func SwapInt64(addr *int64, new int64) (old int64)
    
    // SwapUint32 atomically stores new into *addr and returns the previous *addr value.
    // Consider using the more ergonomic and less error-prone [Uint32.Swap] instead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    @ElementTypesAreNonnullByDefault
    // 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.
    // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference
    // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 29 21:34:48 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. src/go/doc/doc.go

    	Doc        string
    	Name       string
    	ImportPath string
    	Imports    []string
    	Filenames  []string
    	Notes      map[string][]*Note
    
    	// Deprecated: For backward compatibility Bugs is still populated,
    	// but all new code should use Notes instead.
    	Bugs []string
    
    	// declarations
    	Consts []*Value
    	Types  []*Type
    	Vars   []*Value
    	Funcs  []*Func
    
    	// Examples is a sorted list of examples associated with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

        including a bug where the cache could be corrupted upon certain access
        patterns. We also fixed a bug where the cache was being cleared due to a
        corrupted journal. We've added APIs to configure a request's `Cache-Control`
        headers, and to manually clear the cache.
    
     *  **Request cancellation fixes.** This update fixes a bug where synchronous
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *
       * <p>Note: the type parameter {@code E} extends {@code Comparable<?>} rather than {@code
       * Comparable<? super E>} as a workaround for javac <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6468354">bug 6468354</a>.
       */
      public static <E extends Comparable<?>> Builder<E> reverseOrder() {
        return new Builder<>(Ordering.<E>natural().reverse());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      public void testCopyOf_array_empty() {
        /*
         * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's
         * useful in testing - when two things are the same then one can't have bugs the other doesn't.
         */
        assertThat(ImmutableDoubleArray.copyOf(new double[0]))
            .isSameInstanceAs(ImmutableDoubleArray.of());
      }
    
      public void testCopyOf_array_nonempty() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 06 15:23:21 UTC 2023
    - 20K bytes
    - Viewed (0)
  10. src/os/pipe_test.go

    		// It doesn't matter if this occasionally fails, the test
    		// will still pass, it just won't test anything.
    		time.Sleep(10 * time.Millisecond)
    		r.Fd()
    
    		// The bug was that Fd would hang until Read timed out.
    		// If the bug is fixed, then writing to w and closing r here
    		// will cause the Read to exit before the timeout expires.
    		w.Write(make([]byte, count))
    		r.Close()
    	}()
    
    	wg.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top