Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 962 for Ensure (0.19 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        long[] array = {0L, 1L, 2L};
        List<Long> list = Longs.asList(array);
        long[] newArray = Longs.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, 4L);
        assertThat(newArray).isEqualTo(new long[] {0L, 1L, 2L});
        newArray[1] = 5L;
        assertThat((long) list.get(1)).isEqualTo(1L);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        short[] array = {(short) 0, (short) 1, (short) 2};
        List<Short> list = Shorts.asList(array);
        short[] newArray = Shorts.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (short) 4);
        assertThat(newArray).isEqualTo(new short[] {(short) 0, (short) 1, (short) 2});
        newArray[1] = (short) 5;
        assertThat((short) list.get(1)).isEqualTo((short) 1);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  3. src/bytes/buffer_test.go

    	}
    }
    
    type panicReader struct{ panic bool }
    
    func (r panicReader) Read(p []byte) (int, error) {
    	if r.panic {
    		panic("oops")
    	}
    	return 0, io.EOF
    }
    
    // Make sure that an empty Buffer remains empty when
    // it is "grown" before a Read that panics
    func TestReadFromPanicReader(t *testing.T) {
    
    	// First verify non-panic behaviour
    	var buf Buffer
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                     * issue on the host. There's not much we can do about it. Just
                     * to suppress NPEs that would result we can create a possibly bogus
                     * address. Pretty sure the below cannot actually thrown a UHE tho.
                     */
                    try {
                        localInetAddress = InetAddress.getByName("127.0.0.1");
                    } catch (final UnknownHostException ignored) {}
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

        return Maps.toStringImpl(this);
      }
    
      /**
       * Serialized type for all ImmutableMap instances. It captures the logical contents and they are
       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       */
      @J2ktIncompatible // serialization
      static class SerializedForm<K, V> implements Serializable {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        float[] array = {0.0f, 1.0f, 2.0f};
        List<Float> list = Floats.asList(array);
        float[] newArray = Floats.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, 4.0f);
        assertThat(newArray).isEqualTo(new float[] {0.0f, 1.0f, 2.0f});
        newArray[1] = 5.0f;
        assertThat((float) list.get(1)).isEqualTo(1.0f);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        int[] array = {(int) 0, (int) 1, (int) 2};
        List<Integer> list = Ints.asList(array);
        int[] newArray = Ints.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (int) 4);
        assertThat(newArray).isEqualTo(new int[] {(int) 0, (int) 1, (int) 2});
        newArray[1] = (int) 5;
        assertThat((int) list.get(1)).isEqualTo((int) 1);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        float[] array = {0.0f, 1.0f, 2.0f};
        List<Float> list = Floats.asList(array);
        float[] newArray = Floats.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, 4.0f);
        assertThat(newArray).isEqualTo(new float[] {0.0f, 1.0f, 2.0f});
        newArray[1] = 5.0f;
        assertThat((float) list.get(1)).isEqualTo(1.0f);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  9. src/main/webapp/js/admin/popper.min.js

    nction K(e,t,o){var n=D(e,function(e){var o=e.name;return o===t}),i=!!n&&e.some(function(e){return e.name===o&&e.enabled&&e.order<n.order});if(!i){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return i}function z(e){return'end'===e?'start':'start'===e?'end':e}function G(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=he.indexOf(e),n=he.slice(o+1).concat(he.slice(0,o));return t?n.reverse():n}function...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 20.7K bytes
    - Click Count (0)
  10. cmd/metacache-set.go

    		return nil
    	}
    	readers := make([]*metacacheReader, len(disks))
    	defer func() {
    		for _, r := range readers {
    			r.Close()
    		}
    	}()
    	for i := range disks {
    		r, w := io.Pipe()
    		// Make sure we close the pipe so blocked writes doesn't stay around.
    		defer r.CloseWithError(context.Canceled)
    
    		readers[i] = newMetacacheReader(r)
    		d := disks[i]
    
    		// Send request to each disk.
    		go func() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
Back to Top