Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 383 for set_name (0.16 seconds)

  1. guava/src/com/google/common/util/concurrent/MoreExecutors.java

        checkNotNull(name);
        checkNotNull(runnable);
        // TODO(b/139726489): Confirm that null is impossible here.
        Thread result = requireNonNull(platformThreadFactory().newThread(runnable));
        try {
          result.setName(name);
        } catch (SecurityException e) {
          // OK if we can't set the name in this environment.
        }
        return result;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  2. fastapi/routing.py

    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.responses import JSONResponse, Response
    from starlette.routing import (
        BaseRoute,
        Match,
        compile_path,
        get_name,
    )
    from starlette.routing import Mount as Mount  # noqa
    from starlette.types import AppType, ASGIApp, Lifespan, Receive, Scope, Send
    from starlette.websockets import WebSocket
    from typing_extensions import deprecated
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          throw new RuntimeException(e);
        }
      }
    
      private void checkStackTrace(ExecutionException e) {
        // Our call site for get() should be in the trace.
        int index = findStackFrame(e, getClass().getName(), "getExpectingExecutionException");
    
        assertThat(index).isNotEqualTo(0);
    
        // Above our method should be the call to get(). Don't assert on the class
        // because it could be some superclass.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          throw new RuntimeException(e);
        }
      }
    
      private void checkStackTrace(ExecutionException e) {
        // Our call site for get() should be in the trace.
        int index = findStackFrame(e, getClass().getName(), "getExpectingExecutionException");
    
        assertThat(index).isNotEqualTo(0);
    
        // Above our method should be the call to get(). Don't assert on the class
        // because it could be some superclass.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/net/InetAddresses.java

        // present interfaces)
        NetworkInterface scopedInterface = ip.getScopedInterface();
        if (scopedInterface != null) {
          return "%" + scopedInterface.getName();
        }
        int scope = ip.getScopeId();
        if (scope != 0) {
          return "%" + scope;
        }
        return "";
      }
    
      /**
       * Identify and mark the longest run of zeroes in an IPv6 address.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

          };
    
      // We use a holder class to delay initialization: https://github.com/google/guava/issues/6566
      private static final class LoggerHolder {
        static final Logger logger = Logger.getLogger(CacheBuilder.class.getName());
      }
    
      static final int UNSET_INT = -1;
    
      boolean strictParsing = true;
    
      int initialCapacity = UNSET_INT;
      int concurrencyLevel = UNSET_INT;
      long maximumSize = UNSET_INT;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 51.9K bytes
    - Click Count (0)
  7. tests/migrate_test.go

    		t.Fatalf("no view should be created, got %v", err)
    	}
    
    	query := DB.Model(&User{}).
    		Select("users.id as users_id, users.name as users_name, pets.id as pets_id, pets.name as pets_name").
    		Joins("inner join pets on pets.user_id = users.id")
    
    	if err := DB.Migrator().CreateView("users_pets", gorm.ViewOption{Query: query}); err != nil {
    		t.Fatalf("Failed to crate view, got %v", err)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

          };
    
      // We use a holder class to delay initialization: https://github.com/google/guava/issues/6566
      private static final class LoggerHolder {
        static final Logger logger = Logger.getLogger(CacheBuilder.class.getName());
      }
    
      static final int UNSET_INT = -1;
    
      boolean strictParsing = true;
    
      int initialCapacity = UNSET_INT;
      int concurrencyLevel = UNSET_INT;
      long maximumSize = UNSET_INT;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

        // present interfaces)
        NetworkInterface scopedInterface = ip.getScopedInterface();
        if (scopedInterface != null) {
          return "%" + scopedInterface.getName();
        }
        int scope = ip.getScopeId();
        if (scope != 0) {
          return "%" + scope;
        }
        return "";
      }
    
      /**
       * Identify and mark the longest run of zeroes in an IPv6 address.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            .testEquals();
      }
    
      // T is used inside to test type variable
      public <T> void testToString() {
        assertEquals(String.class.getName(), new TypeToken<String>() {}.toString());
        assertEquals("T", TypeToken.of(new TypeCapture<T>() {}.capture()).toString());
        assertEquals("java.lang.String", new Entry<String, Integer>() {}.keyType().toString());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 89K bytes
    - Click Count (0)
Back to Top