Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,528 for fileId (0.04 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            // Arrange: initial page with two entries, then one more entry, then no more files
            FileEntry fe1 = mock(FileEntry.class);
            lenient().when(fe1.getName()).thenReturn("file1");
            lenient().when(fe1.getFileIndex()).thenReturn(1);
    
            FileEntry fe2 = mock(FileEntry.class);
            lenient().when(fe2.getName()).thenReturn("file2");
            when(fe2.getFileIndex()).thenReturn(2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertDoesNotThrow(() -> new Smb2WriteRequest(mockConfig, emptyFileId));
            }
        }
    
        @Nested
        @DisplayName("FileId Tests")
        class FileIdTests {
    
            @Test
            @DisplayName("Should set file ID correctly")
            void testSetFileId() {
                byte[] newFileId = new byte[16];
                new SecureRandom().nextBytes(newFileId);
    
                assertDoesNotThrow(() -> request.setFileId(newFileId));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertDoesNotThrow(() -> new Smb2LockRequest(mockConfig, testFileId, null));
            }
        }
    
        @Nested
        @DisplayName("FileId Tests")
        class FileIdTests {
    
            @Test
            @DisplayName("Should set file ID correctly")
            void testSetFileId() {
                byte[] newFileId = new byte[16];
                new SecureRandom().nextBytes(newFileId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertEquals(0x2, Smb2ReadRequest.SMB2_CHANNEL_RDMA_V1_INVALIDATE);
            }
        }
    
        @Nested
        @DisplayName("FileId Tests")
        class FileIdTests {
    
            @Test
            @DisplayName("Should set file ID correctly")
            void testSetFileId() {
                byte[] newFileId = new byte[16];
                new SecureRandom().nextBytes(newFileId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. docs/smb3-features/03-multi-channel-design.md

            }
        }
        
        public void handleFailure(ChannelInfo failedChannel, Exception error) {
            log.warn("Channel {} failed: {}", failedChannel.getChannelId(), error.getMessage());
            
            // Mark channel as failed
            failedChannel.setState(ChannelState.FAILED);
            
            // Get or create failover state
            FailoverState state = failoverStates.computeIfAbsent(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                    throw (IOException) e.getCause();
                }
                throw new IOException("Connection failed", e);
            } catch (Exception e) {
                // Handle any other exceptions from circuit breaker
                throw new IOException("Connection failed", e);
            }
        }
    
        private void doConnectInternal() throws IOException {
            /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. schema/field.go

    				schema.err = fmt.Errorf("failed to parse %s as default value for float, got error: %v", field.DefaultValue, err)
    			}
    		}
    	case reflect.String:
    		field.DataType = String
    		if field.HasDefaultValue && !skipParseDefaultValue {
    			field.DefaultValue = strings.Trim(field.DefaultValue, "'")
    			field.DefaultValue = strings.Trim(field.DefaultValue, `"`)
    			field.DefaultValueInterface = field.DefaultValue
    		}
    	case reflect.Struct:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/Files.java

      public static boolean equal(File file1, File file2) throws IOException {
        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Files.java

      public static boolean equal(File file1, File file2) throws IOException {
        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  10. tests/non_std_test.go

    	DB.First(&animal, animal.Counter)
    	if animal.Name != "amazing horse" {
    		t.Errorf("Update a filed with a default value should occur. But got %v\n", animal.Name)
    	}
    
    	// When changing a field with a default value with blank value
    	animal.Name = ""
    	DB.Save(&animal)
    	DB.First(&animal, animal.Counter)
    	if animal.Name != "" {
    		t.Errorf("Update a filed to blank with a default value should occur. But got %v\n", animal.Name)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top