Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 499 for preserve (0.05 sec)

  1. src/bytes/reader_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"io"
    	"sync"
    	"testing"
    )
    
    func TestReader(t *testing.T) {
    	r := NewReader([]byte("0123456789"))
    	tests := []struct {
    		off     int64
    		seek    int
    		n       int
    		want    string
    		wantpos int64
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                byte[] buffer = createValidWriteResponse(1024, 512);
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                assertEquals(16, bytesRead); // Structure size + reserved (4) + count (4) + remaining (4) + channel info (4)
                assertEquals(1024, response.getCount());
                assertEquals(512, response.getRemaining());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/LruHashSet.java

        @Override
        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        /**
         * Returns true if this set contains the specified element.
         *
         * @param o
         *            element whose presence in this set is to be tested.
         * @return true if this set contains the specified element.
         */
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
       * for insertions.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> preservesInsertionOrderOnPutsMap() {
        return new LinkedHashMap<>();
      }
    
      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        // The response structure is reserved and must be zero (8 bytes)
        private byte[] reserved = new byte[8];
    
        /**
         * Create a new durable handle response
         */
        public DurableHandleResponse() {
            // Reserved field initialized to zeros
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. cmd/net_test.go

    		},
    		// Non parsable ip is assumed to be hostame and gets preserved
    		// as the left most elements, regardless of IP based sorting.
    		{
    			ipList:       []string{"hostname", "127.0.0.1", "192.168.1.106"},
    			sortedIPList: []string{"hostname", "192.168.1.106", "127.0.0.1"},
    		},
    		// Non parsable ip is assumed to be hostname, with a mixed input of ip and hostname.
    		// gets preserved and moved into left most elements, regardless of
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            SMBUtil.writeInt8(0, dst, dstIndex); // LeaseDuration (8 bytes) - reserved, must be zero
            dstIndex += 8;
    
            parentLeaseKey.encode(dst, dstIndex); // ParentLeaseKey (16 bytes)
            dstIndex += 16;
    
            SMBUtil.writeInt2(epoch, dst, dstIndex); // Epoch (2 bytes)
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved (2 bytes)
            dstIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.7.md

    ### **Storage**
    #### Local Storage
    * [alpha] This feature adds capacity isolation support for local storage at node, container, and volume levels. See updated [Reserve Compute Resources for System Daemons](https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/) documentation.
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (1)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            assertEquals(66, result);
            assertEquals(0, response.getStatus()); // Should be STATUS_SUCCESS
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat preserves buffer content")
        void testReadBytesWireFormatPreservesBuffer() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Fill buffer with test data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/Subscriber.java

          // multiple times
          return target == that.target && method.equals(that.method);
        }
        return false;
      }
    
      /**
       * Checks whether {@code method} is thread-safe, as indicated by the presence of the {@link
       * AllowConcurrentEvents} annotation.
       */
      private static boolean isDeclaredThreadSafe(Method method) {
        return method.getAnnotation(AllowConcurrentEvents.class) != null;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top