Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,324 for isSafe (0.12 sec)

  1. src/go/types/typelists.go

    package types
    
    // TypeParamList holds a list of type parameters.
    type TypeParamList struct{ tparams []*TypeParam }
    
    // Len returns the number of type parameters in the list.
    // It is safe to call on a nil receiver.
    func (l *TypeParamList) Len() int { return len(l.list()) }
    
    // At returns the i'th type parameter in the list.
    func (l *TypeParamList) At(i int) *TypeParam { return l.tparams[i] }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/syscall/js/js.go

    		for k, v := range x {
    			o.Set(k, v)
    		}
    		return o
    	default:
    		panic("ValueOf: invalid value")
    	}
    }
    
    // stringVal copies string x to Javascript and returns a ref.
    //
    // (noescape): This is safe because no references are maintained to the
    //             Go string x after the syscall returns.
    //
    //go:wasmimport gojs syscall/js.stringVal
    //go:noescape
    func stringVal(x string) ref
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    The Kotlin DSL replaces such dynamic resolution with type-safe model accessors that work with model elements contributed by plugins.
    
    [[kotdsl:accessor_applicability]]
    === Understanding when type-safe model accessors are available
    
    The Kotlin DSL currently provides various sets of type-safe model accessors, each tailored to different scopes.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableList.java

        System.arraycopy(array, 0, dst, dstOff, size);
        return dstOff + size;
      }
    
      // The fake cast to E is safe because the creation methods only allow E's
      @Override
      @SuppressWarnings("unchecked")
      public E get(int index) {
        checkElementIndex(index, size);
        // requireNonNull is safe because we guarantee that the first `size` elements are non-null.
        return (E) requireNonNull(array[index]);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @Override
      int indexOf(@CheckForNull Object target) {
        if (!contains(target)) {
          return -1;
        }
        // The cast is safe because of the contains checkā€”at least for any reasonable Comparable class.
        @SuppressWarnings("unchecked")
        // requireNonNull is safe because of the contains check.
        C c = (C) requireNonNull(target);
        return (int) domain.distance(first(), c);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. proguard/cache.pro

    # Striped64 uses this
    -dontwarn sun.misc.Unsafe
    
    # Striped64 appears to make some assumptions about object layout that
    # really might not be safe. This should be investigated.
    -keepclassmembers class com.google.common.cache.Striped64 {
      *** base;
      *** busy;
    }
    -keepclassmembers class com.google.common.cache.Striped64$Cell {
      <fields>;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 341 bytes
    - Viewed (0)
  7. proguard/hash.pro

    # LittleEndianByteArray uses this
    -dontwarn sun.misc.Unsafe
    
    # Striped64 appears to make some assumptions about object layout that
    # really might not be safe. This should be investigated.
    -keepclassmembers class com.google.common.hash.Striped64 {
      *** base;
      *** busy;
    }
    -keepclassmembers class com.google.common.hash.Striped64$Cell {
      <fields>;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 351 bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

                return unknown;
              }
            };
        EscaperAsserts.assertBasic(replacingEscaper);
    
        // Replacements are applied first regardless of whether the character is in
        // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
        assertEquals(
            "<tab>Fish <and>? Chips?<newline>", replacingEscaper.escape("\tFish &\0 Chips\r\n"));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 23:02:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

                return unknown;
              }
            };
        EscaperAsserts.assertBasic(replacingEscaper);
    
        // Replacements are applied first regardless of whether the character is in
        // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
        assertEquals(
            "<tab>Fish <and>? Chips?<newline>", replacingEscaper.escape("\tFish &\0 Chips\r\n"));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 23:02:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-shared/src/integTest/groovy/org/gradle/integtests/PathTraversalCheckerIntegrationTest.groovy

            '''
    
            when:
            fails 'copyEvilZip'
    
            then:
            failureDescriptionContains "Execution failed for task ':copyEvilZip'"
            failure.assertHasErrorOutput "'../../tmp/evil.sh' is not a safe archive entry or path name"
        }
    
        def "UnzipTransform refuses to unzip evil.zip"() {
            given:
            buildFile """
                def artifactType = Attribute.of('artifactType', String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top