Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1761 - 1770 of 2,391 for set (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

      private lateinit var client: OkHttpClient
    
      @BeforeEach
      fun setUp() {
        // Sockets on some platforms can have large buffers that mean writes do not block when
        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
          object : DelegatingServerSocketFactory(getDefault()) {
            @Throws(SocketException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/Handler.java

            synchronized (PROTOCOL_HANDLERS) {
                if (Handler.factory != null) {
                    throw new IllegalStateException("URLStreamHandlerFactory already set.");
                }
                PROTOCOL_HANDLERS.clear();
                Handler.factory = factory;
            }
        }
    
        /**
         * Returns the default HTTP port.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            TestAbstractCIFSContext spyContext = new TestAbstractCIFSContext(mockCredentials) {
                @Override
                public boolean close() throws CIFSException {
                    super.close(); // Call original close to set closeCalled
                    throw new CIFSException("Test exception during close");
                }
            };
    
            // Simulate the shutdown hook being run
            spyContext.run();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            Class<?> clazz = target.getClass();
            while (clazz != null) {
                try {
                    Field f = clazz.getDeclaredField(fieldName);
                    f.setAccessible(true);
                    f.set(target, value);
                    return;
                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException(fieldName);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            // When
            Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel);
    
            // Then
            assertEquals(filename, trans.path, "The path should be set correctly.");
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, trans.command, "The command should be SMB_COM_TRANSACTION2.");
            assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, trans.subCommand,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. cmd/background-heal-ops.go

    				}
    			}
    
    			if task.respCh != nil {
    				task.respCh <- healResult{result: res, err: err}
    				continue
    			}
    
    			// when respCh is not set caller is not waiting but we
    			// update the relevant metrics for them
    			if bgSeq != nil {
    				if err == nil {
    					bgSeq.countHealed(res.Type)
    				} else {
    					bgSeq.countFailed(res.Type)
    				}
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/configurations/Gradleception.kt

                        workingDir = "%teamcity.build.checkoutDir%/dogfood-first-for-hash"
                        scriptContent =
                            """
                            set -x
                            MD5=`find . -type f | sort | xargs md5sum | md5sum | awk '{ print $1 }'`
                            echo "##teamcity[setParameter name='env.ORG_GRADLE_PROJECT_versionQualifier' value='gradleception-${'$'}MD5']"
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu May 01 14:55:05 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. ci/official/containers/ml_build_arm64/Dockerfile

    RUN groupadd -g 1001 buildslave && useradd -m -u 1001 -g buildslave buildslave
    RUN mkdir -p /tf/venv
    RUN chown -R buildslave:buildslave /tf
    
    # All lines past this point are reset when $CACHEBUSTER is set. We need this
    # for Python specifically because we install some nightly packages which are
    # likely to change daily.
    ARG CACHEBUSTER=0
    RUN echo $CACHEBUSTER
    
    # Setup build and environment
    COPY devel.bashrc /root/.bashrc
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 01 02:44:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top