Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 538 for Level (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            byte[] buffer = new byte[512];
            int written = trans2QueryFSInfo.writeParametersWireFormat(buffer, 0);
    
            // Should write 2 bytes: information level
            assertEquals(2, written);
    
            // Check information level (SMB_INFO_ALLOCATION maps to 0x0001)
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0001, actualInfoLevel);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        @Test
        @DisplayName("Test impersonation level setter")
        void testSetImpersonationLevel() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            request.setImpersonationLevel(Smb2CreateRequest.SMB2_IMPERSONATION_LEVEL_DELEGATE);
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Read impersonation level from buffer (offset 4-7)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java

    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * DFS (Distributed File System) referral request buffer encoder.
     * Creates encoded request buffers for DFS referral requests, specifying the maximum
     * referral level and target path for which DFS resolution is requested.
     *
     * @author mbechler
     */
    public class DfsReferralRequestBuffer implements Encodable {
    
        private final int maxReferralLevel;
        private final String path;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import java.util.logging.Level;
    import java.util.logging.LogRecord;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link TestLogHandler}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

    import java.net.SocketException
    import java.util.concurrent.ConcurrentHashMap
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicInteger
    import java.util.logging.Level
    import java.util.logging.Logger
    import okhttp3.TestUtil.threadFactory
    import okhttp3.internal.and
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.threadName
    import okio.Buffer
    import okio.BufferedSink
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

                  }
                }
              }
            }
          }
    
          override fun flush() {
          }
    
          override fun close() {
          }
        }.apply {
          level = Level.FINEST
        }
    
      private fun applyLogger(fn: Logger.() -> Unit) {
        Logger.getLogger(OkHttpClient::class.java.`package`.name).fn()
        Logger.getLogger(OkHttpClient::class.java.name).fn()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                    dstIndex += b.length;
                    dst[dstIndex] = (byte) '\0';
                    dstIndex++;
                }
            } catch (final UnsupportedEncodingException uee) {
                if (LogStream.level > 1) {
                    uee.printStackTrace(log);
                }
            }
    
            return dstIndex - start;
        }
    
        String readString(final byte[] src, final int srcIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "type"),
        level = DeprecationLevel.ERROR,
      )
      fun type(): MediaType = type
    
      @JvmName("-deprecated_boundary")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "boundary"),
        level = DeprecationLevel.ERROR,
      )
      fun boundary(): String = boundary
    
      @JvmName("-deprecated_size")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

        }
    
        @Test
        @DisplayName("Constructor should initialize all fields correctly")
        void testConstructorInitialization() {
            // Verify level is set to 200 for DFS root enumeration
            assertEquals(200, dfsRootEnum.level);
    
            // Verify DCE/RPC message properties
            assertEquals(0, dfsRootEnum.getPtype());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

         *
         * @param config the configuration to use
         * @param filename the DFS path to get referrals for
         */
        public Trans2GetDfsReferral(final Configuration config, final String filename) {
            this(config, filename, 3);
        }
    
        /**
         * Constructs a Trans2GetDfsReferral request with specified referral level.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top