Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 2,391 for set (1.17 sec)

  1. guava/src/com/google/common/primitives/UnsignedLong.java

       * primitive conversion from {@code long} to {@code float}, and correctly rounded.
       */
      @Override
      public float floatValue() {
        if (value >= 0) {
          return (float) value;
        }
        // The top bit is set, which means that the float value is going to come from the top 24 bits.
        // So we can ignore the bottom 8, except for rounding. See doubleValue() for more.
        return (float) ((value >>> 1) | (value & 1)) * 2f;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

         */
        public DirectoryCacheScope getScope() {
            return scope;
        }
    
        /**
         * Sets the cache scope for this directory cache
         * @param scope the cache scope to set
         */
        public void setScope(DirectoryCacheScope scope) {
            this.scope = scope;
        }
    
        /**
         * Gets the maximum age for cached data before requiring refresh
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                numCalls.incrementAndGet();
              }
            };
        assertThrows(RejectedExecutionException.class, () -> executor.execute(task));
        assertEquals(0, numCalls.get());
        reject.set(false);
        executor.execute(task);
        assertEquals(1, numCalls.get());
      }
    
      /*
       * Under Android, MyError propagates up and fails the test?
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmServletTest.java

            verify(response, never()).setHeader(eq("WWW-Authenticate"), anyString());
            verify(response, never()).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
        }
    
        /**
         * Helper method to set up common mocks required for authentication tests.
         * @throws CIFSException
         */
        private void setupMocksForAuth() throws Exception {
            // This is a simplified way to get a transport context into the servlet.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

        private boolean insecureBasic;
        private String realm;
    
        @Override
        public void init(final FilterConfig filterConfig) throws ServletException {
            String name;
            int level;
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min.
             */
            Config.setProperty("jcifs.smb1.smb.client.soTimeout", "1800000");
            Config.setProperty("jcifs.smb1.netbios.cachePolicy", "1200");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/body-nested-models.md

    ## Tipos de conjunto
    
    Pero luego pensamos en ello, y nos damos cuenta de que los tags no deberían repetirse, probablemente serían strings únicos.
    
    Y Python tiene un tipo de datos especial para conjuntos de elementos únicos, el `set`.
    
    Entonces podemos declarar `tags` como un conjunto de strings:
    
    {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            verify(fileHandle, never()).release();
            verify(tree, atLeastOnce()).release();
    
            // Re-prepare state for second branch: not open but handle set
            when(fileHandle.isValid()).thenReturn(false);
            // Need to reopen logic to set handle again
            // Reset open flag by reconstructing target
            target = new SmbPipeHandleImpl(pipe);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

       *
       * If more than [maxRequests] requests are in flight when this is invoked, those requests will
       * remain in flight.
       */
      @get:Synchronized
      var maxRequests = 64
        set(maxRequests) {
          require(maxRequests >= 1) { "max < 1: $maxRequests" }
          synchronized(this) {
            field = maxRequests
          }
          promoteAndExecute()
        }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    	accessKey, secretKey := mustGenerateCredentials(c)
    	err = s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	// confirm that the user is unable to access the bucket - we have not
    	// yet set any policy
    	uClient := s.getUserClient(c, accessKey, secretKey, "")
    	c.mustNotListObjects(ctx, uClient, bucket)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  10. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

            super(config, SMB_COM_TRANSACTION, NET_SHARE_ENUM);
            this.name = "\\PIPE\\LANMAN";
            this.maxParameterCount = 8;
    
            // maxDataCount = 4096; why was this set?
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top