Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 1,291 for current (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                // Encode at position 100
                int encoded = context.encode(buffer, 100);
                assertEquals(context.size(), encoded);
    
                // Verify salt is at correct position
                for (int i = 0; i < salt.length; i++) {
                    assertEquals((byte) 0xFF, buffer[100 + 4 + 4 + i]);
                }
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. callbacks/create.go

    		if !insertOk {
    			if !supportReturning {
    				db.AddError(err)
    			}
    			return
    		}
    
    		// append @id column with value for auto-increment primary key
    		// the @id value is correct, when: 1. without setting auto-increment primary key, 2. database AutoIncrementIncrement = 1
    		switch values := db.Statement.Dest.(type) {
    		case map[string]interface{}:
    			values[pkFieldName] = insertID
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. cmd/erasure-metadata-utils.go

    			inconsistent++
    			continue
    		}
    		if meta.XLV1 != fi.XLV1 {
    			inconsistent++
    			continue
    		}
    		// check if erasure distribution order matches the index
    		// position if this is not correct we discard the disk
    		// and move to collect others
    		if distribution[i] != meta.Erasure.Index {
    			inconsistent++ // keep track of inconsistent entries
    			continue
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test constructor initialization with valid configuration
         */
        @Test
        @DisplayName("Test constructor initializes with correct command")
        public void testConstructorWithValidConfig() {
            // When
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
    
            // Then
            assertNotNull(smbComTreeDisconnect);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            assertEquals(0, result);
    
            // Verify no data was written
            assertArrayEquals(new byte[100], dst);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat writes correct data")
        void testWriteParametersWireFormat() throws Exception {
            netShareEnum = new NetShareEnum(realConfig);
            byte[] dst = new byte[256];
            int dstIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                assertArrayEquals(originalBuffer, buffer);
            }
        }
    
        @Nested
        @DisplayName("ToString Tests")
        class ToStringTests {
    
            @Test
            @DisplayName("Should generate correct string representation")
            void testToString() throws Exception {
                // Set up notification with known values
                byte oplockLevel = 0x02;
                byte[] fileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/archive/tar/strconv.go

    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    // If parsing is successful, it will slice off the currently read record and
    // return the remainder as r.
    func parsePAXRecord(s string) (k, v, r string, err error) {
    	// The size field ends at the first space.
    	nStr, rest, ok := strings.Cut(s, " ")
    	if !ok {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertEquals(originalMap, map);
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
            // TODO(b/145386688): This access should be guarded by 'segment', which is not currently
            // held
            segment.expand();
          }
          assertEquals(i, segment.table.length());
          assertEquals(originalCount, countLiveEntries(map));
          assertEquals(originalCount, segment.count);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertEquals(originalMap, map);
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
            // TODO(b/145386688): This access should be guarded by 'segment', which is not currently
            // held
            segment.expand();
          }
          assertEquals(i, segment.table.length());
          assertEquals(originalCount, countLiveEntries(map));
          assertEquals(originalCount, segment.count);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. guava-gwt/pom.xml

                lines could make c.g.c.base.testModule transitively inherit from extra modules. If some
                of those modules are ones that it uses but forgets to list in its own <inherits>, we'd
                like to get an error. Currently we do, but if we add the extra <inherits> lines, we
                won't.
    
                I have one idea for a better approach, but it's painful, and I haven't tested it: We
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top